Capillary minimal slicing and Scalar curvature rigidity Dongyeong Ko and Xuan Yao Abstract . We develop minimal slicing via capillary hypersurfaces to understand positive scalar curvature metric on manifolds with boundary. The method provides rigidity statements once the regularity of minimizers of capillary area functional holds. In particular, in dimension 4 4 , we prove following comparison and rigidity statement: given a compact Riemannian 4 4 -manifold ( M 4 , g ) (M^{4},g) with a mean convex boundary whose boundary is diffeomorphic to boundary of a connected convex domain in ℝ 4 \mathbb{R}^{4} , if the scalar curvature is non-negative and the scaled mean curvature comparison holds along the boundary, then M M is isometric to the Euclidean domain. 1. Introduction Studying geometry and topology of manifolds with positive scalar curvature has been a fundamental topic in differential geometry, which appears both in geometry and general relativity naturally. Among the questions involving with scalar curvature including comparison theorems, positive mass theorem, topological classification, interactions between interior scalar curvature and boundary mean curvature have given clues on the local and global geometry of positive scalar curvature metric. There have been several major approaches to understand manifolds with positive scalar curvature such as Dirac operator method, the variational method of area functional and harmonic functions. In particular, the variational approach with minimal hypersurfaces has played an important role in developing the theory, while many fundamental questions on manifolds with scalar curvature lower bound remains unknown. More specifically, many known methods to deduce the comparison and rigidity statement via variational methods rely on the stability property of a minimizer of area functional of hypersurfaces. The stability inequality gives comparison and rigidity of geometric and topological quantities. In particular, obtaining rigidity statements through variational methods have been successful in three dimensional geometry, where we have more direct ways to extract geometric and topological quantities using classical theorems such as Gauss-Bonnet. However, despite recent progress on the control of quantities in higher dimensions, for instance, \sigma -constant introduced by Schoen [ 39 ] and Kobayashi [ 30 ] for Yamabe problem and the recent work of Stern [ 43 ] by the level set of harmonic maps, only few methods can be employed to understand scalar curvature from minimizers. Moreover, almost all of these methods can be applied only in the manifold without boundary settings. The Dirac operator method has been successful to prove major results when the manifold is spin, which is initiated by Lichnerowicz [ 34 ] , Atiyah and Singer [ 1 ] in 1960s. The theory was further developed by Hitchin [ 26 ] , and Gromov and Lawson [ 17 , 18 , 19 ] . In the boundary setting, for the rigidity of Riemannian polyhedra, namely dihedral rigidity conjecture, Gromov proved the conjecture for cubical polyhedra by doubling and reducing to Geroch conjecture in high dimensions, and sketched a proof, which can be found in [ 20 ] , [ 22 ] , [ 23 ] . More recently, Wang-Xie-Yu [ 46 ] developed spin geometry on cornered manifold to prove the dihedral rigidity conjecture. Brendle proved the dihedral rigidity conjecture with the matching angle hypothesis combining harmonic spinor and smooth-out method [ 5 ] (See also Brendle-Wang [ 3 ] ). On the other hand, minimal hypersurface theory has led progress on major questions on scalar curvature and positive mass theorem. Remarkably, on a conjecture of Geroch, which conjectures that the torus T^{n} does not admit a metric of positive scalar curvature, Schoen-Yau proved the conjecture in dimension 3 first in [ 40 ] and extended to dimension 4 to 7 by developing the descent on homology classes in [ 41 ] (Gromov and Lawson proved the conjecture with the spinor method on spin manifolds in all dimensions in [ 18 ] ). Following an outline of proof in dimension 4 by Schoen-Yau [ 41 ] , the non-existence of metrics of positive scalar curvature on closed aspherical manifolds, also known as the K(\pi,1) conjecture or aspherical conjecture, was proven in dimension 4 and 5 by Chodosh and Li in [ 13 ] and by M. Gromov in [ 21 ] by generalized soap bubble method which is a generalized version of minimal hypersurfaces. The generalized soap bubble technique, also known as the \mu -bubble and prescribed mean curvature functional, was first introduced to the study of the positive scalar curvature problem by Gromov [ 22 ] , the existence and regularity (in low dimensions) of the \mu -bubble minimizer was first rigorously proven by Zhu [ 52 ] . See also [ 50 ] [ 49 ] for a min-max construction of the prescribed mean curvature functional. The weighted minimal slicing method developed by Schoen and Yau in [ 42 ] has enabled to reduce problems on higher dimensions to problems in dimension 2 , in particular in closed manifold settings, and this extended the positive mass theorem to all dimensions by analyzing singular minimal hypersurfaces. Recently, Brendle-Hirsch-Johne extended weighted minimal slicing techniques to prove the generalized Geroch conjecture using intermediate curvature [ 4 ] (See also [ 14 ] for the corresponding rigidity statement). Mazurowski-Wang-Yao [ 36 ] combined the weighted minimal slicing and the generalized soap bubble method in the study of topological obstructions of positive intermediate curvature. Analyzing capillary minimal surfaces to understand interaction between mean curvature and scalar curvature is natural, in the sense that capillary minimal surfaces prescribe the intersection angle between minimal surfaces and boundary of an ambient manifold. Remarkably, Li settled the dihedral rigidity conjecture for conical and prism-type polyhedra by applying capillary minimal surfaces in dimension 3 [ 32 ] (See [ 33 ] for the generalization to n -prisms). For the rigidity results of smooth domains, Gromov proved the extremality for the standard unit ball with capillary minimal surfaces in his lecture note [ 22 ] . Chai-Wang [ 8 ] generalized the rigidity theorem to \mathbb{S}^{1} -rotationally symmetric domains (See [ 9 ] in hyperbolic setting and [ 10 ] in a 3 -dimensional warped product). Recently, Wu applied capillary surfaces with prescribed contact angle to obtain fill-in result and a bandwidth estimate in [ 47 ] (See [ 48 ] also). Wang-Wang-Zhu proved scalar-mean curvature rigidity theorem for unit balls by applying capillary soap bubbles in [ 45 ] . The authors provided variational proof of comparison and rigidity of weakly convex domains with boundary diffeomorphism and the scaling mean curvature comparison introduced by Gromov, which we will discuss further, in dimension 3 in [ 28 ] , where Bär-Brendle-Chow-Hanke [ 2 ] proved the rigidity theorems for initial data sets via spinor approach which covers weakly convex domain cases. Proving full regularity of a minimizer of capillary functional provides the comparison and rigidity statement from the slicing arguments. The classical regularity result of Taylor in [ 44 ] gives a smoothness of minimizing surfaces of the capillary functional in dimension 3 (See De Philippis-Maggi [ 38 ] for more general settings). Recently, Chodosh-Edelen-Li extended the regularity result to dimension 4 in [ 11 ] (See [ 12 ] also). In contrast, for free boundary cases, it is proven that the singular set of a minimizer of the area functional has codimension at least 7 by Grüter [ 24 ] . More recently, Firester-Tsiamis-Wang extended the regularity theory by providing non-flat area-minimizing capillary cones in dimension 8 or higher in [ 16 ] . There are recent construction result of critical point of perturbed area functional such as prescribed mean curvature surface and capillary surface via min-max approach (See Zhou-Zhu [ 51 ] , Li-Zhou-Zhu [ 31 ] , and Ko [ 29 ] ). One natural setting to understand the scalar and mean curvature comparison and rigidity is on smooth convex domains. In this regards, Gromov posed and proved the following \bullet -inequality in his lecture note [ 22 ] : Theorem 1.1 ( [ 22 ] , Section 3.1.II) . Let V be a Riemannian manifold diffeomorphic to the n -ball the boundary of V of which has positive mean curvature H_{\partial V}>0 , let \underline{V}\subset\mathbb{R}^{n} be a convex domain with smooth boundary and let f:\partial V\rightarrow\partial\underline{V} is a diffeomorphism. If R_{V}\geq 0 , then the differential of f cannot be everywhere strictly smaller than the ratio of the mean curvatures of the two boundaries: there exists a point v\in\partial V , such that (1) \displaystyle||df(v)||\geq\frac{H_{\partial V}(f(v))}{H_{\partial\underline{V}}(v)}. The scaling invariant mean curvature condition ( 2 ) is introduced in Gromov’s lecture note with the terminology of ‘normalization of metrics by mean curvatures’. The statement suggests the sharp comparison between interior scalar curvature and boundary mean curvature of convex domains, and the proof relies on the spin structure and Dirac operator. 1.1. Main results We now describe our capillary minimal slicing which provides applications in comparison and rigidity statements, in particular, in non-spin settings. We adopt Schoen-Yau’s weighted minimal slicing technique to manifold with boundary. In the slicing X\subset X\times S^{1}\subset...\subset X\times T^{n-k} of a closed manifold X^{k}\times T^{n-k} , the existence of nontrivial minimizer is guaranteed by the nontrivial topology of the torus part T^{n-k} . However, in our manifold with boundary setting, we lack the topological information of manifold since we only know that \partial M is diffeomorphic to an (n-1) -dimensional sphere. For this reason, we impose the contact angle functions for each minimal slicing which replace topological constraints in the minimal slicing of closed manifolds. We deduce the existence of nontrivial minimizers of capillary area functional from the mean curvature comparison. Let us first define the slicing angle functions. Suppose \bar{M}^{n+2} to be a Euclidean convex domain with smooth boundary and we take orthogonal coordinates (x_{1},...,x_{n+2}) . Denote \bar{\Sigma}_{t_{1},...,t_{i}}^{n+2-i} to be a codimension i slice \bar{M}\cap(\cap_{j=1}^{i}\{x_{n+3-j}=t_{j}\}) and assume x\in\bar{\Sigma}_{t_{1},...,t_{i}} . We define the angle functions \{\bar{\theta}_{i}\}_{i=1,...,n} at x by the dihedral angle \bar{\theta_{i}} between \bar{\Sigma}_{t_{1}} and \partial\bar{M} for i=1 and the dihedral angle between \bar{\Sigma}_{t_{1},...,t_{i}} and \partial\bar{\Sigma}_{t_{1},...,t_{i-1}} otherwise, namely the dihedral angle between codimension i level sets and the boundary of codimension i-1 level sets in a Euclidean domain. We call the angle functions \{\bar{\theta}_{i}\}_{i=1,2...,n} are associated angle functions with the coordinate (x_{1},...,x_{n+2}) . Given angle functions \{\bar{\theta}_{i}\}_{i=1,...,n} on a Euclidean domain \partial\bar{M} , the angle function on \partial M is given by the pullback of the angle functions by boundary diffeomorphism i.e. \{f^{\sharp}\bar{\theta}_{i}\}_{i=1,...,n} are angle functions on \partial M where f:\partial M\rightarrow\partial\bar{M} is a boundary diffeomorphism. In dimension 4 , our main slicing statement is as follows. Theorem 1.2 . Let M^{4} be a manifold with boundary of dimension 4 with non-negative scalar curvature R\geq 0 , whose boundary is diffeomorphic to the boundary of a Euclidean convex domain \bar{M}^{4} . Moreover, suppose that \partial M satisfies the rescaled mean curvature comparison H_{g}^{2}g|_{\partial M}\geq H_{0}^{2}g_{E}|_{\partial\bar{M}} . Then there exist orthogonal coordinates (x_{1},...,x_{4}) such that there exists a stable weighted capillary minimal slicing \Sigma_{2}^{2}\subset\Sigma_{1}^{3}\subset M^{4} with the associated angle functions \{\bar{\theta}_{i}\}_{i=1,2} satisfying the following conditions. (1) For each k=1,2 , \Sigma_{k} is an embedded capillary minimal hypersurface in \Sigma_{k-1} with a contact angle \bar{\theta}_{k} . Moreover, \Sigma_{k} is a stable critical point of the \rho_{k-1} -weighted capillary area functional \mathcal{A}_{\bar{\theta}_{k}}(U_{k}):=\int_{\partial_{rel}U_{k}}\rho_{k-1}d\mathcal{H}^{4-k}-\int_{\partial U_{n}\cap\partial\Sigma_{k-1}}\rho_{k-1}\cos\bar{\theta}_{k}d\mathcal{H}^{4-k}, where g_{0}=1 and \Sigma_{0}=M . (2) For each k=1,2 , the function f_{k}|_{\Sigma_{k}}\in C^{\infty}(\Sigma_{k}) is a first eigenfunction of the stability operator associated with the \rho_{k-1}=\Pi_{i=1}^{k-1}f_{i} weighted capillary area functional. Remark 1.1 . (1) The proof of Theorem 1.2 relies on the smoothness of minimizers of the capillary area functional and the curvature estimates which come from the Bernstein problem of capillary area minimizing cone. The best known regularity is the full regularity in ambient dimension 4 , namely by the work of Chodosh-Edelen-Li [ 11 ] . (2) In this paper, we prove the existence of weighted capillary minimal slicing in dimension 4 . For the existence in higher dimensions, we may need to impose further assumptions on the Euclidean domain \bar{M} . By analyzing the stable minimal capillary slices constructed in Theorem 1.2 , we obtain the following rigidity theorem. Since the estimates we proven in Section 2 and 3 works dimension-wise, we state the theorem in general dimensions. In the following statement, we assume the regularity of a minimizer of capillary area functional, which follows the curvature estimate. Theorem 1.3 . Let M^{n+2} be a manifold with boundary of dimension n+2 with non-negative scalar curvature R\geq 0 , whose boundary is diffeomorphic to the boundary of a Euclidean convex domain \bar{M}^{n+2} . Moreover, suppose that \partial M satisfies the rescaled mean curvature comparison H_{g}^{2}g|_{\partial M}\geq H_{0}^{2}g_{E}|_{\partial\bar{M}} . Assume the regularity of minimizer of capillary area functional and there exists a stable weighted capillary minimal slicing \Sigma_{n}^{2}\subset\Sigma_{n-1}^{3}\subset...\subset M^{n+2} with the associated angle functions \{\bar{\theta}_{i}\}_{i=1,...n} . Then (M,g) is isometric to (\bar{M},g_{E}) . By combining Theorem 1.2 and 1.3 and applying this to dimension 4 cases, we obtain our main rigidity theorem in dimension 4 . Theorem 1.4 . Suppose (M^{4},g) is a compact Riemannian manifold with non-negative scalar curvature R\geq 0 and assume that (\partial M,g|_{\partial M}) is mean convex and diffeomorphic to the boundary \partial\bar{M} of a smooth convex domain (\bar{M},g_{E}) in \mathbb{R}^{4} . Furthermore, we assume that the rescaled mean curvature comparison H_{g}^{2}g|_{\partial M}\geq H_{0}^{2}g_{E}|_{\partial\bar{M}} is satisfied, then (M,g) is isometric to (\bar{M},g_{E}) . As a direct corollary of Theorem 1.4 , we obtain the generalization of Theorem 1.1 (Gromov’s \bullet -inequality) in dimension 4 as follows, which removes a topological assumption from the original inequality. Corollary 1.1 . Let V be a Riemannian manifold with boundary which has positive boundary mean curvature H_{\partial V}>0 , let \underline{V}\subset\mathbb{R}^{4} be a convex domain with smooth boundary and let f:\partial V\rightarrow\partial\underline{V} is a diffeomorphism. If R_{V}\geq 0 , then the differential of f cannot be everywhere strictly smaller than the ratio of the mean curvatures of the two boundaries: there exists a point v\in\partial V , such that (2) \displaystyle||df(v)||\geq\frac{H_{\partial V}(f(v))}{H_{\partial\underline{V}}(v)}. 1.2. Outline of the proof We outline the proof of main results. The result mainly divides into the proof of the slicing theorem (Theorem 1.2 ) finding a nontrivial minimizer for appropriately perturbed functionals and the rigidity theorem (Theorem 1.3 ) deducing global rigidity from local variational information of a two-dimensional bottom capillary minimal slice with its stability analysis. The first key ingredient is the local mean curvature estimate (Proposition 3.1 ) between mean curvature of \partial M and the trace form of the second fundamental form II on the boundary \partial\bar{M} of an Euclidean domain. In particular, for any orthonormal frame \{\tau_{i}\}_{i=1}^{k} of T_{p}\partial M with respect to a Riemannian metric g and orthonormal frame \{\bar{\tau}_{i}\}_{i=1}^{k} of T_{p}\partial\bar{M} , the following inequality holds: (3) \displaystyle H_{\partial M}\geq\sum_{i=1}^{k}\textup{II}(\tau_{i},\bar{\tau}_{i}), This is a generalization of the local curvature estimate in dimension 3 in Ko-Yao [ 28 ] (similar trace type quantity and estimate appear in Bär-Brendle-Chow-Hanke [ 2 ] and Wang-Wang-Zhou [ 45 ] ). The estimate follows from the boundary mean curvature comparison H_{g}^{2}g|_{\partial M}\geq H_{0}^{2}g_{E}|_{\partial\bar{M}} for principal curvature directions and is extended to general directions by rotations. In particular, the equality condition aligns \tau_{i} to \bar{\tau}_{i} for all i . The main part of the proof of the main slicing theorem (Theorem 1.2 ) is devoted to obtaining a winding number in the bottom slice and then obtaining the Euclidean rigidity. More precisely, we use the generalization of the local curvature estimates and an inductive procedure to prove that the boundary integral term which comes from the stability inequality is bounded below by a winding number. In dimension 4 , we prove the existence of the minimal slicing. In each slicing, the construction of a graphical foliation which serves as a barrier which has nonnegative mean curvature and contact angle which is larger than the prescribed angle functions \{\bar{\theta}_{i}\} . In particular, the construction of the foliation in the first slicing is the direct generalization of the construction in dimension 3 in Ko-Yao [ 28 ] , where the nonnegative mean curvature of leaves follow from the mean curvature comparison between the boundaries in Riemannian and Euclidean metric. However, we do not have comparison (weighted) mean curvature at points of the slice where the direction of normal vector of Riemannian and Euclidean slicing do not agree. In other words, the normal vector of \partial\Sigma_{1} in \partial M does not agree with the normal vector of \partial\bar{\Sigma}_{1} in \partial\bar{M} in general. To overcome lack of comparison, we pick a point p_{2} on \partial\Sigma_{1} such that the x_{4} -coordinate of p_{1} is maximum over \partial\Sigma_{1} and take the axis x_{3} to achieve the maximum coordinate at p_{1} . With this procedure, we can identify T_{p_{1}}\partial\Sigma_{1} and T_{p_{1}}\partial\bar{\Sigma}_{1} and apply the strong version of the local curvature estimate, and obtain the desired foliation on each slicing with a specific coordinate. The proof of the rigidity statement (Theorem 1.3 ) separates into two parts: extracting the infinitesimal rigidity condition on slices from the stability inequality, and proving the global rigidity from the infinitesimal rigidity. We obtain the infinitesimal rigidity from the stability analysis of the (weighted) capillary area functional. Assuming the existence of a codimension n stable minimal slicing, we can modify the second variation formula by slicing identities and obtain the estimate on the bottom slice \Sigma_{n}^{2} (Proposition 2.3 ). Another important ingredients are angle identities (Proposition 2.4 ). The identities transform the first derivative of the angle function on the boundary by the second fundamental form on the boundary of the Euclidean domain. Combining the angle identity and the local estimate ( 3 ) with Proposition 2.3 , we obtain the global comparison and rigidity by the winding number argument as in dimension 3 . We prove the global rigidity using the infinitesimal rigidity by proving the local splitting theorem. Assuming the existence of a flat nontrivial minimizer, we adopt the construction of dense set of flat slices on small neighborhood of the minimizer developed in Carlotto-Chodosh-Eichmair [ 6 ] , relies on the conformal deformation of the metric near the minimizer. Since the argument does not depend on the dimension, we can apply the construction as far as the regularity of the minimizer is guaranteed. In dimension 4, minimizers of the capillary area functional are smooth and we can prove the curvature estimate for area-minimizing capillary minimal hypersurfaces by Chodosh-Edelen-Li [ 11 ] , which gives the compactness of minimizing hypersurfaces. 1.3. Discussion in higher dimensions The obstructions to prove the rigidity theorem (Theorem 1.4 ) in dimensions larger than or equal to 5 are twofold. One is the lack of regularity of minimizer of the capillary area functional and another is that it is hard to find an extrinsic third angle functional that would guaranty the existence of a nontrivial minimizer. The best full regularity of the capillary minimizer known to authors is codimension 4 singularity in [ 11 ] , and this may preclude us from the stability analysis of minimizers (See [ 16 ] and [ 37 ] for partial regularities in higher dimensions). Since the possible singularities of capillary minimizers are isolated singularities in dimension 5 , the regularity issue may be diverted by analyzing stability inequality outside those singular sets (See [ 25 ] and [ 7 ] for such analysis on point singularities). Another significant issue on iterative capillary minimal slicings is the choice of angle functionals that ensure the existence of a nontrivial minimizer. We obtain the existence of a nontrivial minimizer by constructing a barrier which achieves a strictly negative capillary area functional. An eligible foliation can be achieved by a large contact angle with nonnegative mean curvature on leaves. As we discussed earlier, this foliation can be obtained in a small neighborhood at all points for the first slicing, and can be obtained at a point where tangent planes of codimension 2 slices in g metric and Euclidean metric agree for the second slicing by maximum principle type arguments. However, we cannot guaranty the existence of such a point for the third slicing. Without the coincidence of two tangent planes T_{p_{3}}\partial\Sigma_{3} and T_{p_{3}}\partial\bar{\Sigma}_{3} , We have neither a mean curvature comparison derived from the local estimate ( 3 ) nor a contact angle comparison. In terms of a contact angle comparison, a local foliation in a Euclidean metric is necessary to compare contact angles with one in a Riemannian metric. However, we may not have a local foliation without a fixation of two tangent planes since we do not have a control of contact angle function \bar{\theta}_{3} on different slices. 1.4. Organization The organization of this paper is as follows. In Section 2 , we introduce the setup of weighted capillary slicing, derive stability analysis, and prove angle identities. In Section 3 , we prove the local comparison estimate. In Section 4 , we prove the existence of non-trivial minimizers for capillary minimal slicings in dimension 4 . In Section 5 , we prove the rigidity statement by showing the local splitting theorem. 1.5. Acknowledgements D.K. would like to appreciate Tobias Holck Colding, William Minicozzi, and Daniel Ketover for their encouragement and support and X.Y. would like to thank Sun-Yung Alice Chang and Xin Zhou for their encouragement and support. We are grateful to Gioacchino Antonelli, Christine Breiner, Simone Cecchini, Otis Chodosh, Chao Li, Jian Wang and Chao Xia for their interest in our work. D.K. thanks to Raphael Tsiamis for inspiring conversations related to this work. 2. Preliminaries In this section, we introduce the capillary angle functional and weighted capillary slicing. Based on the first and second variation formula and first eigenfunction of stability operator, we derive the curvature estimate on the bottom slice. We also prove the angle identity in the last section. We formulate our settings on general (n+2) -dimensional domain. 2.1. Set-up of weighted capillary slicing Suppose \bar{M}^{n+2} is a strictly convex domain in \mathbb{R}^{n+2} , we label the (n+2) -dimensional Euclidean coordinates as (x_{1},x_{2},\cdots,x_{n+2}) . \partial\bar{M} is a closed (n+1) -hypersurface in \mathbb{R}^{n+2} , we take p^{+}_{1},p_{1}^{-}\in\partial\bar{M} , such that by rotating the coordinate, we have x_{n+2}(p_{1}^{+})>w(p)>x_{n+2}(p_{1}^{-}),\qquad\forall p\in\partial\bar{M}\setminus\{{p_{1}^{+},p_{1}^{-}}\}. Equivalently, we have that the tangent planes T_{p_{1}^{+}}\partial\bar{M} and T_{p_{1}^{-}}\partial\bar{M} are parallel and their unit normal is e_{n+2} . For x\in\partial\bar{M} , we define the first capillary angle \bar{\theta}_{1} as \displaystyle\bar{\theta}_{1}(x):=\arccos\langle\bar{X},e_{n+2}\rangle_{g_{Eucl}}. Let \bar{\Sigma}_{1}^{t_{1}}=\{x_{n+2}=t_{1}\}\cap\bar{M} , we denote \bar{\eta}_{1}(x) as the unit outer normal of \partial\bar{\Sigma}_{1}^{t_{1}} in \bar{\Sigma}_{1}^{t_{1}} , then \bar{\eta}_{1} is well-defined for all x\in\partial\bar{M}\setminus\{p_{1}^{+},p_{1}^{-}\} .We denote the unit co-normal of \partial\bar{\Sigma}_{1}^{t_{1}} in \partial\bar{M} as \bar{\nu}_{1} , then it is well-defined for all x\in\partial\bar{M}\setminus\{p_{1}^{+},p_{1}^{-}\} . Similarly, we pick the coordinate x_{n+1} and define \bar{\Sigma}_{2,t_{1}}^{t_{2}}=\bar{\Sigma}_{1}^{t_{1}}\cap\{x_{n+1}=t_{2}\} . For each x\in\partial\bar{\Sigma}^{t_{2}}_{2,t_{1}} , we define the second capillary angle \bar{\theta}_{2} as \displaystyle\bar{\theta}_{2}(x):=\arccos\langle\bar{\eta}_{1}(x),e_{n+1}\rangle_{g_{Eucl}}. For each t_{1} , we let p_{2,t_{1}}^{+} ( p_{2,t_{1}}^{-} ) be the point on \partial\bar{\Sigma}_{1}^{t_{1}} where the maximum (minimal) value of x_{n+1} -coordinate is achieved. Similarly, we define \bar{\eta}_{2} to be the unit outer normal vector of \partial\bar{\Sigma}_{2,t_{1}}^{t_{2}} in \bar{\Sigma}_{2,t_{1}}^{t_{2}} and \bar{\nu}_{2} to be the unit co-normal vector of \partial\bar{\Sigma}_{2,t_{1}}^{t_{2}} in \partial\bar{\Sigma}_{1}^{t_{1}} . Both \bar{\eta}_{2} and \bar{\nu}_{2} are well-defined vector fields on \partial\bar{M} except the Continuing the above process n times, we obtain k -th capillary functional \bar{\theta}_{k} for 1\leq k\leq n . 2.2. Capillary functionals and variational formulas We are now ready to introduce our capillary functionals and its variation formulas. The first capillary functional is defined as (4) \displaystyle\mathcal{A}_{\bar{\theta}_{1}}(\Omega):=|\partial^{i}\Omega|-\int_{\partial^{b}\Omega}\cos\bar{\theta}_{1}d\mathcal{H}^{3}, where \Omega\subset M is a domain containing p_{1} , and \partial^{i}\Omega denotes \partial\Omega\cap\text{Int}(M) and \partial^{b}\Omega denotes \partial\Omega\cap\partial M . We consider the minimization problem of \mathcal{A}_{\bar{\theta}_{1}} as follows: (5) \displaystyle\mathcal{I}_{1}=\inf\{\mathcal{A}_{\bar{\theta}_{1}}(\Omega):\Omega\in\mathcal{E}_{1}\}, where \mathcal{E}_{1} is a collection of open sets E_{1} such that p_{1}\in E_{1} . Suppose that we obtain a non-trivial minimizer \Sigma_{1} of \mathcal{A}_{\bar{\theta}_{1}} among \mathcal{E}_{1} . We start with the first and second variation formulas of \mathcal{A}_{\bar{\theta}_{1}} . Suppose \Sigma=\partial_{rel}\Omega separates M into two components. Let \nu be the unit outer normal vector field of \partial\Sigma in \partial M , \eta_{1} be the unit outer normal of \partial\Sigma_{1} in \Sigma_{1} . Let \Psi(\Sigma_{1},t):\Sigma_{1}\times(-\epsilon,\epsilon)\to M be a family of diffeomorphisms such that \Psi(\Sigma_{1},0)=\Sigma_{1} and \Psi(\partial\Sigma_{1},t)\subset\partial M . Denote Y=\frac{\partial\Psi}{\partial t}(t,\cdot) , the vector field that generates \Psi . Note that Y lies in the tangent space of \partial M . Define \mathcal{A}_{\bar{\theta}_{1}}(t)=\mathcal{A}_{\bar{\theta}_{1}}(\Sigma_{t}) and \varphi=\langle Y,N_{1}\rangle_{g} , where N_{1} is the unit normal vector of \Sigma_{t} . We use H_{\Sigma_{1}} to denote the mean curvature of \Sigma in M . We have the following first and second variation formula of \mathcal{A}_{\bar{\theta}_{1}} . Proposition 2.1 . The first variation formula of \mathcal{A}_{\bar{\theta}_{1}} is (6) \displaystyle\frac{d}{dt}\mathcal{A}_{\bar{\theta}_{1}}(0)=-\int_{\Sigma_{1}}\varphi H_{\Sigma_{1}}d\mathcal{H}^{3}+\int_{\partial\Sigma_{1}}\langle Y,\eta-\nu\cos\bar{\theta}_{1}\rangle_{g}d\mathcal{H}^{2}. The second variation formula is (7) \displaystyle\frac{d^{2}}{dt^{2}}\mathcal{A}_{\bar{\theta}_{1}}(0)=-\int_{\Sigma_{1}}\left(\Delta_{\Sigma_{1}}\varphi+\left(\text{Ric}_{M}(N_{1},N_{1})+\|A_{\Sigma_{1}}\|^{2}\right)\varphi\right)\varphi d\mathcal{H}^{3}+\int_{\partial\Sigma_{1}}\varphi\left(\frac{\partial\varphi}{\partial\eta}-Q_{1}\varphi\right), where (8) \displaystyle Q_{1}=\frac{1}{\sin\overline{\theta}_{1}}A_{\partial M}(\nu_{1},\nu_{1})-\cot\overline{\theta}_{1}A_{\Sigma_{1}}(\eta_{1},\eta_{1})+\frac{1}{\sin^{2}\overline{\theta}_{1}}\partial_{\nu_{1}}\cos\overline{\theta}_{1}. Let f_{1} be the first eigenfunction of the stability operator of \mathcal{A}_{\bar{\theta}_{1}} . We define the second capillary functional as (9) \displaystyle\mathcal{A}_{\bar{\theta}_{2}}(U):=\int_{\partial^{i}U}f_{1}d\mathcal{H}^{2}-\int_{\partial^{b}U}\cos\bar{\theta}_{2}f_{1}d\mathcal{H}^{2}, where U is an open domain in a connected component of boundary of minimizer \Sigma_{1} of \mathcal{A_{\bar{\theta}_{1}}} containing the point p_{2} , where p_{2} is the point on \partial\Sigma_{1} that has the maximum z -coordinate function. \partial^{i}U=\partial U\cap\text{Int}(\Sigma_{1}) and \partial^{b}U=\partial U\cap\partial\Sigma . Similarly, we consider the minimization problem of \mathcal{A}_{\bar{\theta}_{2}} as follows: (10) \displaystyle\mathcal{I}_{2}:=\inf\{\mathcal{A}_{\bar{\theta}_{2}}(U):U\in\mathcal{E}_{2}\}, where \mathcal{E}_{2} is the collection of open sets E_{2} such that p_{2}\in E_{2} . Suppose \Sigma_{2}=\partial^{i}U separates \Sigma_{1} into two components. Let \nu_{2} be the unit outer normal vector field of \partial U in \partial\Sigma_{1} , \eta_{2} be the unit outer normal of \partial\Sigma_{2} in \Sigma_{2} . By a direct computation, we have the variation formulas for the weighted capillary functional. We follow the computation from [ 48 ] . Proposition 2.2 . The first variation formula of \mathcal{A}_{\bar{\theta}_{2}} is (11) \displaystyle\frac{d}{dt}\mathcal{A}_{\bar{\theta}_{2}}(0)=-\int_{\Sigma_{2}}\varphi(H_{\Sigma_{2}}f_{1}+\langle\nabla f_{1},N_{2}\rangle_{g})d\mathcal{H}^{2}+\int_{\partial\Sigma_{2}}\langle Y_{2},\eta_{2}-\nu_{2}\cos\bar{\theta}_{2}\rangle_{g}f_{1}d\mathcal{H}^{1}. The second variation formula is (12) \displaystyle\frac{d^{2}}{dt^{2}}\mathcal{A}_{\bar{\theta}_{2}}(0)= \displaystyle\int_{\Sigma_{2}}f_{1}\varphi\left(-\Delta_{\Sigma_{2}}\varphi-\left(\|A_{\Sigma_{2}}\|^{2}+\text{Ric}_{\Sigma_{1}}(N_{2},N_{2})\right)\varphi+\varphi\nabla_{\Sigma_{1}}^{2}\log f_{1}(N_{2},N_{2})-\langle\nabla_{\Sigma_{2}}\log f_{1},\nabla_{\Sigma_{2}}\varphi\rangle_{g}\right)d\mathcal{H}^{2} \displaystyle+\int_{\partial\Sigma_{2}}\varphi\left(\frac{\partial\varphi}{\partial\eta_{2}}-Q_{2}\varphi\right)f_{1}d\mathcal{H}^{1}, where \displaystyle Q_{2}= \displaystyle\frac{1}{\sin\bar{\theta}_{2}}\left(A_{\partial\Sigma_{1}}(\tau_{2},\tau_{2})+\frac{1}{2}\langle\nabla\log f_{1},\eta\rangle_{g}\right)-\cot\bar{\theta}_{2}\left(A_{\Sigma_{2}}(\eta_{2},\eta_{2})+\frac{1}{2}\langle\nabla\log f_{1},N_{2}\rangle_{g}\right) \displaystyle+\frac{1}{\sin^{2}\bar{\theta}_{2}}\partial_{\tau_{2}}\cos\bar{\theta}_{2}-\frac{1}{2}\langle\nabla\log f_{1},\eta_{2}\rangle_{g} (13) \displaystyle= \displaystyle\frac{1}{\sin\bar{\theta}_{2}}A_{\partial\Sigma_{1}}(\tau_{2},\tau_{2})-\cot\bar{\theta}_{2}A_{\Sigma_{2}}(\eta_{2},\eta_{2})+\frac{1}{\sin^{2}\bar{\theta}_{2}}\partial_{\tau_{2}}\cos\bar{\theta}_{2}. The simplification ( 13 ) follows from the identity \displaystyle\eta(x)=\sin\bar{\theta}_{2}\eta_{2}(x)+\cos\bar{\theta}_{2}N_{2}(x),\quad\forall x\in\partial\Sigma_{2}, where the identity follows from the first variation formula of \mathcal{A}_{\bar{\theta}_{2}} . We have the following identity: (14) \displaystyle\Delta_{\Sigma}f_{1}=\Delta_{\Sigma_{2}}f_{1}+\nabla^{2}f_{1}(N_{2},N_{2})+\langle\nabla f_{1},N_{2}\rangle_{g}H_{\Sigma_{2}}. By the first variation formula ( 11 ), we have that \displaystyle\Delta_{\Sigma}f_{1}=\Delta_{\Sigma_{2}}f_{1}+\nabla^{2}f_{1}(N_{2},N_{2})-f_{1}^{-1}\langle\nabla f_{1},N_{2}\rangle_{g}. We now rewrite the second variation formula on \Sigma_{2} ( 12 ) as \displaystyle\frac{d^{2}}{dt^{2}}\mathcal{A}_{\bar{\theta}_{2}}(0)= \displaystyle\int_{\Sigma_{2}}f_{1}\varphi\left(-\Delta_{\Sigma_{2}}\varphi-\left(\|A_{\Sigma_{2}}\|^{2}+\text{Ric}_{\Sigma}(N_{2},N_{2})\right)\varphi+\nabla_{\Sigma}^{2}\log f_{1}(N_{2},N_{2})\varphi-\langle\nabla_{\Sigma_{2}}\log f_{1},\nabla_{\Sigma_{2}}\varphi\rangle_{g}\right)d\mathcal{H}^{2} \displaystyle+\int_{\partial\Sigma_{2}}\varphi\left(\frac{\partial\varphi}{\partial\eta_{2}}-Q_{2}\varphi\right)f_{1}d\mathcal{H}^{1} \displaystyle= \displaystyle\int_{\Sigma_{2}}-\nabla_{\Sigma_{2}}\cdot\left(f_{1}\varphi\nabla_{\Sigma_{2}}\varphi\right)+f_{1}|\nabla_{\Sigma_{2}}\varphi|^{2}+\varphi^{2}\Delta_{\Sigma}f_{1}-\varphi^{2}\Delta_{\Sigma_{2}}f_{1}-(\|A_{\Sigma_{2}}\|^{2}+\text{Ric}_{\Sigma}(N_{2},N_{2}))f_{1}\varphi^{2} \displaystyle+\int_{\partial\Sigma_{2}}\varphi\left(\frac{\partial\varphi}{\partial\eta_{2}}-Q_{2}\varphi\right)f_{1}d\mathcal{H}^{1} \displaystyle= \displaystyle\int_{\Sigma_{2}}f_{1}|\nabla\varphi|^{2}+\langle\nabla_{\Sigma_{2}}\varphi^{2},\nabla_{\Sigma_{2}}f_{1}\rangle_{g}-\left(\text{Ric}_{M}(N_{1},N_{1})+\|A_{\Sigma}\|^{2}+\text{Ric}_{\Sigma}(N_{2},N_{2})+\|A_{\Sigma_{2}}\|^{2}+\lambda_{1}\right)f_{1}\varphi^{2} \displaystyle+\int_{\partial\Sigma_{2}}-\varphi^{2}\frac{\partial f_{1}}{\partial\eta_{2}}-Q_{2}\varphi^{2}f_{1} \displaystyle= \displaystyle\int_{\Sigma_{2}}f_{1}|\nabla\varphi|^{2}+\langle\nabla_{\Sigma_{2}}\varphi^{2},\nabla_{\Sigma_{2}}f_{1}\rangle_{g}-\frac{1}{2}\left(R_{g}+\|A_{\Sigma}\|^{2}+\|A_{\Sigma_{2}}\|^{2}+H_{\Sigma_{2}}^{2}+2\lambda_{1}\right)f_{1}\varphi^{2} \displaystyle-\int_{\partial\Sigma_{2}}\left(\frac{\partial f_{1}}{\partial\eta_{2}}+Q_{2}f_{1}\right)\varphi^{2}d\mathcal{H}^{1}, where \lambda_{1}\geq 0 is the first eigenvalue of the stability operator of \Sigma , and we applied the Traced Gauss equation twice in the above computations. Before plugging in a specific test function, we rewrite the Q_{2} as follows \displaystyle Q_{2}= \displaystyle\frac{1}{\sin\bar{\theta}_{2}}A_{\partial\Sigma}(\tau_{2},\tau_{2})-\cot\bar{\theta}_{2}A_{\Sigma_{2}}(\eta_{2},\eta_{2})+\frac{1}{\sin^{2}\bar{\theta}_{2}}\partial_{\tau_{2}}\cos\bar{\theta}_{2} \displaystyle= \displaystyle-H_{\Sigma_{2}}\cot\bar{\theta}_{2}+\frac{H_{\partial\Sigma}}{\sin\bar{\theta}_{2}}-\kappa_{\partial\Sigma_{2}}+\frac{1}{\sin^{2}\bar{\theta}_{2}}\partial_{\tau_{2}}\cos\bar{\theta}_{2} \displaystyle= \displaystyle\cot\bar{\theta}_{2}\langle\nabla\log f_{1},N_{2}\rangle_{g}+\frac{H_{\partial\Sigma}}{\sin\bar{\theta}_{2}}-\kappa_{\partial\Sigma_{2}}+\frac{1}{\sin^{2}\bar{\theta}_{2}}\partial_{\tau_{2}}\cos\bar{\theta}_{2} Inductively, one proceeds the n -th capillary slicing as follows. Suppose f_{n-1} is the first eigen function of the stability operator \mathcal{A}_{\bar{\theta}_{n-1}} , we define the n -th capillary functional as (15) \displaystyle\mathcal{A}_{\bar{\theta}_{n}}(U_{n}):=\int_{\Sigma_{n}}f_{1}\cdots f_{n-1}-\int_{\partial U_{n}\cap\partial\Sigma_{n-1}}f_{1}\cdots f_{n-1}\cos\bar{\theta}_{n}, where \cos\bar{\theta}_{n}:=\langle\bar{\eta}_{n-1},e_{n}\rangle, e_{n} is the unit vector of x_{n} -direction. We consider the minimization problem of \mathcal{A}_{\bar{\theta}_{n}} as follows: (16) \displaystyle\mathcal{I}_{n}:=\inf\{\mathcal{A}_{\bar{\theta}_{n}}(U_{n}):U_{n}\in\mathcal{E}_{n}\}, where \mathcal{E}_{n} is the collection of open sets E_{n} of \Sigma_{n-1} where p_{n}\in E_{n} . Proposition 2.3 . Suppose the bottom capillary slice is \Sigma_{n} , we have that (17) \displaystyle\int_{\Sigma_{n}}K_{\Sigma_{n}}+\int_{\partial\Sigma_{n}}\kappa_{g}\geq\int_{\partial\Sigma_{n}}\frac{1}{\Pi_{i=1}^{n}\sin\bar{\theta_{i}}}\left(H_{\partial M}-\sum_{i=1}^{n}\Pi_{j\leq i}\sin\bar{\theta}_{j}\partial_{\nu_{i}}\bar{\theta}_{i}\right), where \nu_{k} is the unit normal of \partial\Sigma_{k} in \partial\Sigma_{k-1} , \eta_{k} is the unit outer normal of \partial\Sigma_{k} in \Sigma_{k} . Proof. We denote the bottom slice as \Sigma_{n} , the weighted functional we consider is \mathcal{A}_{\bar{\theta}_{n}}(U_{n}):=\int_{\Sigma_{n}}f_{1}\cdots f_{n-1}-\int_{\partial U_{n}\cap\partial\Sigma_{n-1}}f_{1}\cdots f_{n-1}\cos\bar{\theta}_{n}, where f_{i} is the first eigen-function of the non-trivial minimizer \Sigma_{i} . Let \rho_{k}=f_{1}\cdots f_{k-1} , where \rho_{1}=1 , k\in\{1,\cdots,n\} . By the second variation formula of \mathcal{A}_{\bar{\theta}_{n}} , and we take \varphi=\rho_{n}^{-1/2} , we have \displaystyle\int_{\Sigma_{n}}- \displaystyle\frac{3}{4}|\nabla^{\Sigma_{n}}\log\rho_{n}|^{2}+\rho_{n}^{-1}\Delta_{\Sigma_{n-1}}\rho_{n}-\left(\|A_{\Sigma_{n}}\|^{2}+\text{Ric}_{\Sigma_{n-1}}(N_{n},N_{n})\right) \displaystyle-\int_{\partial\Sigma_{n}}\left(\rho_{n}^{-1}\frac{\partial\rho_{n}}{\partial\eta_{n}}+Q\right), where \displaystyle Q \displaystyle=\frac{1}{\sin\bar{\theta}_{n}}A_{\partial\Sigma_{n-1}}(\nu_{n},\nu_{n})-\cot\bar{\theta}_{n}A_{\Sigma_{n}}(\eta_{n},\eta_{n})+\frac{1}{\sin^{2}\bar{\theta}_{n}}\partial_{\nu_{n}}\cos\bar{\theta}_{n} \displaystyle=-H_{\Sigma_{n}}\cot\bar{\theta}_{n}+\frac{H_{\partial\Sigma_{n-1}}}{\sin\bar{\theta}_{n}}-\kappa_{\partial\Sigma_{n}}+\frac{1}{\sin^{2}\bar{\theta}_{n}}\partial_{\nu_{n}}\cos\bar{\theta}_{n} \displaystyle=\cot\bar{\theta}_{n}\rho_{n}^{-1}\langle\nabla\rho_{n},N_{n}\rangle+\frac{H_{\partial\Sigma_{n-1}}}{\sin\bar{\theta}_{n}}-\kappa_{\partial\Sigma_{n}}+\frac{1}{\sin^{2}\bar{\theta}_{n}}\partial_{\nu_{n}}\cos\bar{\theta}_{n}. In the last equality, we used the first variation formula of \Sigma_{n} . Note that the second variation formula (with a proper test function plugged in) contains two terms: the interior integral term I and the boundary integral term B . We first have the following identity on the boundary integral term B . \displaystyle B \displaystyle=\int_{\partial\Sigma_{n}}\left(\rho_{n}^{-1}\frac{\partial\rho_{n}}{\partial\eta_{n}}+Q\right) \displaystyle=\int_{\partial\Sigma_{n}}\frac{1}{\sin\bar{\theta}_{n}}\langle\nabla\log\rho_{n},\sin\bar{\theta}_{n}\eta_{n}+\cos\bar{\theta}_{n}N_{n}\rangle+\frac{H_{\partial\Sigma_{n-1}}}{\sin\bar{\theta}_{n}}-\kappa_{\partial\Sigma_{n}}+\frac{1}{\sin^{2}\bar{\theta}_{n}}\partial_{\nu_{n}}\cos\bar{\theta}_{n} \displaystyle=\int_{\partial\Sigma_{n}}\frac{1}{\sin\bar{\theta}_{n}}\left(\langle\nabla\log\rho_{n},\eta_{n-1}\rangle+H_{\partial\Sigma_{n-1}}\right)-\kappa_{\partial\Sigma_{n}}+\frac{1}{\sin^{2}\bar{\theta}_{n}}\partial_{\nu_{n}}\cos\bar{\theta}_{n} \displaystyle=\int_{\partial\Sigma_{n}}\frac{1}{\sin\bar{\theta}_{n}}\left(\langle\nabla\log\rho_{n-1},\eta_{n-1}\rangle+\langle\nabla\log f_{n-1},\eta_{n-1}\rangle+H_{\partial\Sigma_{n-1}}\right)-\kappa_{\partial\Sigma_{n}}+\frac{1}{\sin^{2}\bar{\theta}_{n}}\partial_{\nu_{n}}\cos\bar{\theta}_{n}. Since f_{n-1} is the first eigenfunction of the stability operator of \Sigma_{n-1} , it satisfies \displaystyle f_{n-1}^{-1}\frac{\partial f_{n-1}}{\partial\eta_{n-1}} \displaystyle=-H_{\Sigma_{n-1}}\cot\bar{\theta}_{n-1}+\frac{H_{\partial\Sigma_{n-2}}}{\sin\bar{\theta}_{n-1}}-H_{\partial_{\Sigma_{n-1}}}+\frac{1}{\sin^{2}\bar{\theta}_{n-1}}\partial_{\nu_{n-1}}\cos\bar{\theta}_{n-1} \displaystyle=\cot\bar{\theta}_{n}\langle\nabla\log\rho_{n-1},N_{n-1}\rangle+\frac{H_{\partial\Sigma_{n-2}}}{\sin\bar{\theta}_{n-1}}-H_{\partial_{\Sigma_{n-1}}}+\frac{1}{\sin^{2}\bar{\theta}_{n-1}}\partial_{\nu_{n-1}}\cos\bar{\theta}_{n-1}. Plugging in the identity satisfied by f_{n-1} , we have \displaystyle B= \displaystyle\int_{\partial\Sigma_{n}}\frac{1}{\sin\bar{\theta}_{n}}\left(\langle\nabla\log\rho_{n-1},\eta_{n-1}\rangle+\cot\bar{\theta}_{n-1}\langle\nabla\log\rho_{n-1},N_{n-1}\rangle+\frac{H_{\partial\Sigma_{n-2}}}{\sin\bar{\theta}_{n-1}}+\frac{1}{\sin^{2}\bar{\theta}_{n-1}}\partial_{\nu_{n-1}}\cos\bar{\theta}_{n-1}\right) \displaystyle\int_{\partial\Sigma_{n}}-\kappa_{\partial\Sigma_{n}}+\frac{1}{\sin^{2}\bar{\theta}_{n}}\partial_{\nu_{n}}\cos\bar{\theta}_{n} \displaystyle= \displaystyle\int_{\partial\Sigma_{n}}\frac{1}{\sin\bar{\theta}_{n}\sin\bar{\theta}_{n-1}}\left(\langle\nabla\log\rho_{n-1},\sin\bar{\theta}_{n-1}\eta_{n-1}+\cos\bar{\theta}_{n-1}N_{n-1}\rangle+H_{\partial\Sigma_{n-2}}-\partial_{\nu_{n-1}}\bar{\theta}_{n-1}\right) \displaystyle\int_{\partial\Sigma_{n}}-\kappa_{\partial\Sigma_{n}}-\frac{1}{\sin\bar{\theta}_{n}}\partial_{\nu_{n}}\bar{\theta}_{n} \displaystyle= \displaystyle\int_{\partial\Sigma_{n}}\frac{1}{\sin\bar{\theta}_{n}\sin\bar{\theta}_{n-1}}\left(\langle\nabla\log\rho_{n-2},\eta_{n-2}\rangle+\langle\nabla\log f_{n-2},\eta_{n-2}\rangle+H_{\partial\Sigma_{n-2}}\right)-\int_{\partial\Sigma_{n}}\kappa_{\partial\Sigma_{n}} \displaystyle-\int_{\partial\Sigma_{n}}\left(\frac{1}{\sin\bar{\theta}_{n}}\partial_{\nu_{n}}\bar{\theta}_{n}+\frac{1}{\sin\bar{\theta}_{n}\sin\bar{\theta}_{n-1}}\partial_{\nu_{n-1}}\bar{\theta}_{n-1}\right) Similarly, since f_{n-2} is the first eigenfunction of the stability operator of \Sigma_{n-2} , it satisfies that \displaystyle f_{n-2}^{-1}\frac{\partial f_{n-2}}{\partial\eta_{n-2}}= \displaystyle-H_{\Sigma_{n-2}}\cot\bar{\theta}_{n-2}+\frac{H_{\partial\Sigma_{n-3}}}{\sin\bar{\theta}_{n-2}}-H_{\partial\Sigma_{n-3}}-\frac{1}{\sin\bar{\theta}_{n-2}}\partial_{\nu_{n-1}}\bar{\theta}_{n-2}. Plugging in the identity and continue the above process till the first slice, we have that (18) \displaystyle B=\int_{\partial\Sigma_{n}}\frac{1}{\Pi_{i=1}^{n}\sin\bar{\theta_{i}}}\left(H_{\partial M}-\sum_{i=1}^{n}\Pi_{j\leq i}\sin\bar{\theta}_{j}\partial_{\nu_{i}}\bar{\theta}_{i}\right)-\int_{\partial\Sigma_{n}}\kappa_{\partial\Sigma_{n}}. By Schoen-Yau’s minimal slicing technique [ 42 ] , we have that \displaystyle I\leq\int_{\Sigma_{n}}-\frac{1}{2}\left(R_{g}+\sum_{i=1}^{n}\|A_{\Sigma_{i}}\|^{2}+\sum_{i=1}^{n}H_{\Sigma_{i}}^{2}\right)+\int_{\Sigma_{n}}K_{\Sigma_{n}}. The proof is now complete. ∎ 2.3. Angle Identities Suppose e is a vector of T_{p}\Sigma at the point p . Assume further that p\in\partial\bar{\Sigma}_{t} . We prove the following identities which reveal the relation between the second fundamental form of \partial M with respect to the Euclidean metric and the directional derivatives of the angle functions. Proposition 2.4 (Angle Identities) . Suppose e is any vector in the tangent space T_{p}\partial M , for any k\in\{1,2,\cdots,n\} , we have that (19) \displaystyle\Pi_{i=0}^{k-1}\sin\bar{\theta}_{i}\partial_{e}\bar{\theta}_{k}=\textup{II}(e,\bar{\nu}_{k}), where we define \sin\bar{\theta}_{0}=1 . Proof. Note that \displaystyle\partial_{e}\cos\bar{\theta}_{k}= \displaystyle\langle\nabla_{e}\bar{\eta}_{k-1},e_{k}\rangle \displaystyle= \displaystyle\langle\nabla_{e}\bar{\eta}_{k-1},\cos\bar{\theta}_{k}\bar{\eta}_{k-1}-\sin\bar{\theta}_{k}\bar{\nu}_{k}\rangle \displaystyle= \displaystyle-\sin\bar{\theta}_{k}\langle\nabla_{e}\bar{\eta}_{k-1},\bar{\nu}_{k}\rangle, which gives \partial_{e}\bar{\theta}_{k}=\langle\nabla_{e}\bar{\eta}_{k-1},\bar{\nu}_{k}\rangle. We prove the following Lemma Lemma 2.1 . For m\geq 1 , k\geq m we have that (20) \displaystyle\sin\bar{\theta}_{m-1}\langle\nabla_{e}\bar{\eta}_{m-1},\bar{\nu}_{k}\rangle=\langle\nabla_{e}\bar{\eta}_{m-2},\bar{\nu}_{k}\rangle, we define \bar{\eta}_{0}=\bar{X} . Proof. Note that (21) \displaystyle\bar{\eta}_{m-1}=\sin\bar{\theta}_{m-1}\bar{\eta}_{m-2}+\cos\bar{\theta}_{m-1}\bar{\nu}_{m-1}. We look at the term (22) \displaystyle\langle\nabla_{e}\bar{\nu}_{m-1},\bar{\nu}_{k}\rangle \displaystyle=\langle\nabla_{e}\left(\cos\bar{\theta}_{m-1}\bar{\eta}_{m-1}-\sin\bar{\theta}_{m-1}e_{m}\right),\bar{\nu}_{k}\rangle \displaystyle=\cos\bar{\theta}_{m-1}\langle\nabla_{e}\bar{\eta}_{m-1},\bar{\nu}_{k}\rangle. We have that \displaystyle\langle\nabla_{e}\bar{\eta}_{m-1},\bar{\nu}_{k}\rangle= \displaystyle\sin\bar{\theta}_{m-1}\langle\nabla_{e}\bar{\eta}_{m-2},\bar{\nu}_{k}\rangle+\cos^{2}\bar{\theta}_{m-1}\langle\nabla_{e}\bar{\eta}_{m-1},\bar{\nu}_{k}\rangle. Moving the \cos^{2}\bar{\theta}_{m-1}\langle\nabla_{e}\bar{\eta},\bar{\nu}_{k}\rangle term to the left hand side,the identity follows easily. ∎ With Lemma 2.1 , we have that \displaystyle\Pi_{i=0}^{k-1}\sin\bar{\theta}_{i}\partial_{e}\bar{\theta}_{k}= \displaystyle\langle\nabla_{e}\bar{X},\bar{\nu}_{k}\rangle \displaystyle= \displaystyle\textup{II}(e,\bar{\nu}_{k}). ∎ 3. Local estimates Suppose \Sigma is the non-trivial minimizer of the capillary functional \mathcal{A}_{\bar{\theta}_{1}} , we have the following local estimates on \partial\Sigma . We define F:T_{p}\partial M\rightarrow T_{p}\partial M to be an isomorphism which sends \tau_{i} to \bar{\tau}_{i} for i\{1,2,\cdots,n\} below and positive curvature space \textup{II}_{+} by \textup{II}_{+}(p):=\operatorname{span}\{\,v\in T_{p}\partial M:\ \textup{II}(v,v)>0\,\} which is a subspace of T_{p}M . Proposition 3.1 . For any p\in\partial\Sigma , suppose that \{\tau_{i}\}_{i=1}^{n} is an orthonormal frame of T_{p}\partial M with respect to g . Assume further that p\in\partial\bar{\Sigma}_{t} for some t , and \{\bar{\tau}_{i}\}_{i=1}^{n} is an orthonormal frame of T_{p}\partial M , with respect to g_{E} , then (23) \displaystyle H_{\partial M}\geq\sum_{i=1}^{n}\textup{II}(\tau_{i},\bar{\tau}_{i}), where H_{\partial M}^{2}g|_{F^{\#}\textup{II}_{+}}=\bar{H}_{\partial M}^{2}g_{E}|_{\textup{II}_{+}} when the equality holds. Proof. Since the inequality is symmetric, we can rotate \{\bar{\tau}_{i}\}_{i=1}^{n} appropriately and take the matrix (a_{ij})_{1\leq i,j\leq n}=(\textup{II}(\bar{\tau}_{i},\bar{\tau}_{j}))_{1\leq i,j\leq n} to be a diagonal matrix. We rotate \{\tau_{i}\}_{i=1}^{n} simultaneously with \{\bar{\tau}_{i}\}_{i=1}^{n} . More specifically there exists an orthogonal matrix (O_{ij})_{n\times n}\in SO(n) such that \tau_{i}^{\prime}=O_{ij}\tau_{j} and \bar{\tau}_{i}^{\prime}=O_{ij}\bar{\tau}_{j} and we replace \tau_{i} and \bar{\tau}_{i} by \tau_{i}^{\prime} and \bar{\tau}_{i}^{\prime} , respectively. Note that \{\tau_{i}\}_{i=1}^{n} is preserved to be an orthonormal set in metric g since a rotation is represented by an orthogonal matrix. Let W_{i}=\frac{a_{ii}}{\bar{H}_{\partial M}} for i\in\{1,2,\cdots,3\} and note that \sum_{i=1}^{n}W_{i}=1 . By the boundary comparison condition, we have (24) \displaystyle H_{\partial M}\geq \displaystyle\sum_{i=1}^{n}W_{i}\bar{H}_{\partial M}g_{E}(\tau_{i},\bar{\tau}_{i}) \displaystyle=\sum_{i=1}^{n}a_{ii}g_{E}(\tau_{i},\bar{\tau}_{i}) (25) \displaystyle=\sum_{i=1}^{n}\textup{II}(\tau_{i},\bar{\tau}_{i}), where ( 24 ) gives H_{\partial M}^{2}g|_{F^{\#}\textup{II}_{+}}=\bar{H}_{\partial M}^{2}g_{E}|_{\textup{II}_{+}} ( 25 ) follows from the coordinate decomposition and the fact that (a_{ij}) is a diagonal matrix. Also note that \displaystyle\sum_{i=1}^{n}\textup{II}(O_{ij}\tau_{j},O_{ik}\bar{\tau}_{k}) \displaystyle=\sum_{i=1}^{n}O_{ij}O_{ik}\textup{II}(\tau_{j},\bar{\tau}_{k}) \displaystyle=\delta_{jk}\textup{II}(\tau_{j},\bar{\tau}_{k}) \displaystyle=\sum_{i=1}^{n}\textup{II}(\tau_{i},\bar{\tau}_{i}). Hence the right hand side sum is an invariant over rotations. The equality condition also follows from the rotation. ∎ As a corollary, we obtain the key boundary estimate. Corollary 3.1 (Key boundary estimate) . For any p\in\partial\Sigma_{n} , we have that (26) \displaystyle H_{\partial M}-\sum_{i=1}^{n}\Pi_{j\leq i}\sin\bar{\theta}_{j}\partial_{\nu_{i}}\bar{\theta}_{i}\geq\textup{II}(\tau_{1},\bar{\tau}_{1}). Proof. It follows from Lemma 2.4 and Proposition 3.1 . ∎ 3.1. Winding Number Since \bar{M} is a convex domain in \mathbb{R}^{n+2} , we parametrize \partial\bar{M} as (27) \displaystyle\Psi(\vec{u})=\Psi(u_{1},\cdots,u_{n+1}):=(x(\vec{u}),y(\vec{u}),u_{2},u_{3},\cdots,u_{n+1}). Remark 3.1 . To obtain a winding number, we need to slice the (n+2) -dim domain n -times. Proposition 3.2 . (28) \displaystyle\int_{\partial\Sigma_{n}}\frac{1}{\Pi_{i=1}^{n}\sin\bar{\theta_{i}}}\left(H_{\partial M}-\sum_{i=1}^{n}\Pi_{j\leq i}\sin\bar{\theta}_{j}\partial_{\nu_{i}}\bar{\theta}_{i}\right)\geq 2k\pi, for some k\in\mathbb{N}_{+} . Proof. By Proposition 2.4 and Proposition 3.1 , we have that \displaystyle\int_{\partial\Sigma_{n}}\frac{1}{\Pi_{i=1}^{n}\sin\bar{\theta_{i}}}\left(H_{\partial M}-\sum_{i=1}^{n}\Pi_{j\leq i}\sin\bar{\theta}_{j}\partial_{\nu_{i}}\bar{\theta}_{i}\right)dl_{g}\geq\int_{\partial\Sigma_{n}}\frac{\textup{II}(\tau_{1},\bar{\tau}_{1})}{\Pi_{i=1}^{n}\sin\bar{\theta}_{i}}dl_{g} Since \bar{M} is a convex domain in \mathbb{R}^{n} , we parametrize \partial\bar{M} as (29) \displaystyle\Psi(\vec{u})=\Psi(u_{1},\cdots,u_{n+1}):=(x(\vec{u}),y(\vec{u}),u_{2},u_{3},\cdots,u_{n+1}), and \bar{\tau}_{1} is parallel to \frac{\partial\Psi}{\partial u_{1}} . Under this parametrization, we know that \bar{X} is parallel to \displaystyle\mathcal{X}_{n}=\det\left(\begin{matrix}\hat{i}_{1}&\hat{i}_{2}&\hat{i}_{3}&\cdots&\hat{i}_{n+2}\\ x_{u_{1}}&y_{u_{1}}&0&\cdots&0\\ x_{u_{2}}&y_{u_{2}}&1&\cdots&0\\ x_{u_{3}}&y_{u_{3}}&0&\cdots&0\\ \vdots&\vdots&\vdots&\ddots&\vdots\\ x_{u_{n+1}}&y_{u_{n+1}}&0&\cdots&1\end{matrix}\right) Similarly, one define \mathcal{X}_{k} for k\in\{2,3,\cdots,n\} , we use this definition to compute the determinant in a neat way. Lemma 3.1 . (30) \displaystyle\mathcal{X}_{n}=\mathcal{X}_{n-1}+c_{n+2}\hat{i}_{n+2}. Proof. For any \hat{i}_{m} component of \mathcal{X}_{n} when m\in\{1,2,\cdots,n\} , the coefficient is \displaystyle\det\left(\begin{matrix}M_{n-1,m}&\vec{0}\\ \vec{v}_{n}&1\end{matrix}\right), where \vec{0} is a (n-1)\times 1 column whose entries are all zero, \vec{v}_{n}=(x_{u_{n+1}},y_{u_{n+1}},0,\cdots,0), and \det M_{n-1,m} is the coefficient of \hat{i}_{m} in \mathcal{X}_{n-1} . The equation ( 30 ) follows. ∎ Our next step is to compute c_{n} . Lemma 3.2 . (31) \displaystyle c_{n+2}=x_{u_{1}}y_{u_{n+1}}-x_{u_{n+1}}y_{u_{1}}. Proof. Note that \displaystyle c_{n+2} \displaystyle=(-1)^{n-1}\left((-1)^{n-2}x_{u_{n+1}}\det\left(\begin{matrix}y_{u_{1}}&0&0&\cdots&0\\ y_{u_{2}}&1&0&\cdots&0\\ y_{u_{3}}&0&1&\cdots&0\\ \vdots&\vdots&\vdots&\ddots&\vdots\\ y_{u_{n}}&0&0&\cdots&1\end{matrix}\right)+(-1)^{n-1}y_{u_{n+1}}\det\left(\begin{matrix}x_{u_{1}}&0&0&\cdots&0\\ x_{u_{2}}&1&0&\cdots&0\\ x_{u_{3}}&0&1&\cdots&0\\ \vdots&\vdots&\vdots&\ddots&\vdots\\ x_{u_{n}}&0&0&\cdots&1\end{matrix}\right)\right) \displaystyle=x_{u_{1}}y_{u_{n+1}}-x_{u_{n+1}}y_{u_{1}}. ∎ We then have that (32) \displaystyle\mathcal{X}_{n}= \displaystyle\mathcal{X}_{1}+\sum_{m=3}^{n+2}\left(x_{u_{1}}y_{u_{m-1}}-x_{u_{m-1}}y_{u_{1}}\right)\hat{i}_{m} \displaystyle= \displaystyle y_{u_{1}}\hat{i}_{1}-x_{u_{1}}\hat{i}_{2}+\sum_{m=3}^{n+2}\left(x_{u_{1}}y_{u_{m-1}}-x_{u_{m-1}}y_{u_{1}}\right)\hat{i}_{m}. Since \bar{X} is orthogonal to \bar{\tau}_{1} in the Euclidean metric, we have \displaystyle g_{E}(\nabla_{\gamma^{\prime}(t)}\bar{X},\bar{\tau}_{1}) \displaystyle=\frac{1}{|\mathcal{X}_{n}|}g_{E}(\frac{d}{dt}\mathcal{X}_{n},\bar{\tau}_{1}) \displaystyle=\frac{\sum_{i=1}^{n+1}x_{u_{1}}y_{u_{1}u_{i}}u_{i}^{\prime}-\sum_{i=1}^{n+1}y_{u_{1}}x_{u_{1}u_{i}}u_{i}^{\prime}}{|\mathcal{X}_{n}|} \displaystyle=\frac{\sum_{i=1}^{n+1}x_{u_{1}}y_{u_{1}u_{i}}u_{i}^{\prime}-\sum_{i=1}^{n+1}y_{u_{1}}x_{u_{1}u_{i}}u_{i}^{\prime}}{\sqrt{y_{u_{1}}^{2}+x_{u_{1}}^{2}+\sum_{m=3}^{n+2}(x_{u_{1}}y_{u_{m-1}}-x_{u_{m-1}}y_{u_{1}})^{2}}\sqrt{x^{2}_{u_{1}}+y^{2}_{u_{1}}}}. Lemma 3.3 . For m\in\{1,2\cdots,n\} , we have that (33) \displaystyle\Pi_{i=1}^{m}\sin\bar{\theta}_{i}=\frac{|\mathcal{X}_{n-m}|}{|\mathcal{X}_{n}|}. Proof. We prove by induction. For m=1 , we have that \displaystyle\cos\bar{\theta}_{1}= \displaystyle g_{E}(\bar{X},e_{n}) \displaystyle= \displaystyle\frac{1}{|\mathcal{X}_{n}|}g_{E}(\mathcal{X}_{n},e_{n}) \displaystyle= \displaystyle\frac{c_{n}}{|\mathcal{X}_{n}|}. Now we have that \displaystyle\sin\bar{\theta}_{1}= \displaystyle\sqrt{1-\cos^{2}\bar{\theta}_{1}} \displaystyle= \displaystyle\sqrt{1-\frac{c_{n}^{2}}{|\mathcal{X}_{n}|^{2}}} \displaystyle= \displaystyle\sqrt{1-\frac{|\mathcal{X}_{n}|^{2}-|\mathcal{X}_{n-1}|^{2}}{|\mathcal{X}_{n}|^{2}}} \displaystyle= \displaystyle\frac{|\mathcal{X}_{n-1}|}{|\mathcal{X}_{n}|}, where we used ( 30 ). We verified ( 33 ) for m=1 . Assume that ( 33 ) is true for 1\leq i\leq m , we consider the case when i=m+1 . Since for any m\in\{1,2,\cdots,n-1\} , we have that \displaystyle\bar{\eta}_{m}=\frac{1}{\sin\bar{\theta}_{m}}\left(\bar{\eta}_{m-1}-\cos\bar{\theta}_{m}e_{n+2-m}\right). By definition \displaystyle\cos\bar{\theta}_{m+1}= \displaystyle g_{E}(\bar{\eta}_{m},e_{n+1-m}) \displaystyle= \displaystyle\frac{1}{\sin\bar{\theta}_{m}}g_{E}(\bar{\eta}_{m-1},e_{n+1-m}) Observe that \displaystyle\bar{\eta}_{m-1}=\frac{1}{\sin\bar{\theta}_{m-1}}\left(\bar{\eta}_{m-2}-\cos\bar{\theta}_{m-1}e_{n+3-m}\right), where the e_{n+2-m} component is perpendicular to e_{n+1-m} , and thus we have that \displaystyle\cos\bar{\theta}_{m+1}=\frac{1}{\sin\bar{\theta}_{m}\sin\bar{\theta}_{m-1}}g_{E}(\bar{\eta}_{m-2},e_{n+1-m}). The above procedure proceeds, and we finally have that \displaystyle\cos\bar{\theta}_{m+1}= \displaystyle\frac{g_{E}(\bar{X},e_{n+1-m})}{\Pi_{i=1}^{m}\sin\bar{\theta}_{i}} \displaystyle= \displaystyle\frac{c_{n+2-m}}{|\mathcal{X}_{n}|\Pi_{i=1}^{m}\sin\bar{\theta}_{i}} \displaystyle= \displaystyle\frac{c_{n+2-m}}{|\mathcal{X}_{n-m}|}, where we used the induction hypothesis in the last step. We then have that \displaystyle\sin\bar{\theta}_{m+1}= \displaystyle\sqrt{1-\frac{c_{n+2-m}^{2}}{|\mathcal{X}_{n-m}|^{2}}} \displaystyle= \displaystyle\frac{|\mathcal{X}_{n-m-1}|}{|\mathcal{X}_{n-m}|}, where we used ( 30 ). Now we have \Pi_{i=1}^{m+1}\sin\bar{\theta}_{i}=\frac{|\mathcal{X}_{n-m-1}|}{|\mathcal{X}_{n}|}, the induction completes. ∎ Now, we have that \displaystyle\int_{\partial\Sigma_{n}}\frac{\textup{II}(\tau_{1},\bar{\tau}_{1})}{\Pi_{i=1}^{n}\sin\bar{\theta}_{i}}= \displaystyle\int_{\partial\Sigma_{n}}\frac{\sum_{i=1}^{n+1}\left(x_{u_{1}}y_{u_{1}u_{i}}u_{i}^{\prime}(t)-y_{u_{1}}x_{u_{1}u_{i}}u_{i}^{\prime}(t)\right)}{|\mathcal{X}_{n}|\sqrt{x_{u_{1}}^{2}+y_{u_{1}}^{2}}}\Pi_{i=1}^{n}\sin\bar{\theta}_{1}dt \displaystyle= \displaystyle\int_{\partial\Sigma_{n}}\frac{\sum_{i=1}^{n+1}\left(x_{u_{1}}y_{u_{1}u_{i}}-y_{u_{1}}x_{u_{1}u_{i}}\right)u_{i}^{\prime}(t)}{x_{u_{1}}^{2}+y_{u_{1}}^{2}}dt \displaystyle= \displaystyle\int_{\partial\Sigma_{n}}\frac{d}{dt}\arctan(\frac{y_{u_{1}}}{x_{u_{1}}})dt \displaystyle= \displaystyle 2k\pi, for some k\geq 1 . ∎ 4. Non-trivial minimizer In this section, we prove that there exists a non-trivial minimizer for \{\mathcal{A}_{\bar{\theta}_{i}}\}_{i=1}^{2} in M^{4} . To prove the existence of a non-trivial minimizer, we construct a foliation near the point p_{i} for i=1,2 then prove that the foliations we construct act as good barriers. 4.1. First Slicing Let \{\frac{\partial}{\partial x_{i}}\}_{i=1}^{3} be an orthonormal basis of T_{p_{1}}\partial M with respect to the Euclidean metric. By the implicit function theorem, we can write \partial M in a neighborhood of p_{1}=\vec{0} as (34) \displaystyle\partial M\cap N_{p_{1}}=\{(x_{1},x_{2},x_{3},-c_{ij}(x)x_{i}x_{j}+O(|x|^{3}))\}, where N_{p_{1}} is a small neighborhood of p_{1} in \mathbb{R}^{4} , and C(x)=(c_{ij}(x)) can be written as c_{ij}(x)=\frac{1}{2}\textup{II}(\frac{\partial}{\partial x_{i}},\frac{\partial}{\partial x_{j}})+O(|x|^{4}), where c_{ij} is a positive definite matrix whose entries are all non-zero when |x|\neq 0 . Remark 4.1 . The reason to define our matrix C depending on the point x is to guarantee that all the entries of C are non-zero and we can apply the following linear algebra techniques. Note that (x_{1},x_{2},x_{3},x_{4}) is also a local coordinate of M^{4} in a small neighborhood of p_{1} , by rotating the coordinate accordingly, we can write the metric g at the point p_{1} as g(p_{1})=(a_{ij})_{4\times 4} and the 3\times 3 principal matrix of g(p) to be g(p_{1})|_{\partial M} and a diagonal matrix i.e. a_{ij}=0 for i\neq j and 1\leq i,j\leq 3 . We can also assume that g=g_{0}+th+O(t^{2}) where h is a bounded symmetric 2 -tensor. We construct the following graphical foliation near p_{1} . (35) \displaystyle\Sigma_{s,t}:=\{(tx_{1},tx_{2},tx_{3},t^{2}\{c_{ij}\left(b_{ij}(1+s)-1\right)x_{i}x_{j}+O(t^{4})\}):\vec{x}\in E_{s}\}, where E_{s}:=\{\vec{x}\in\mathbb{R}^{3}:c_{ij}b_{ij}x_{i}x_{j}<(1+s)^{-1}\}, and B=(b_{ij}) is a symmetric 3\times 3 matrix defined as follows. We abbreviate the notation when s=0 : \Sigma_{t}:=\Sigma_{s,t} . Let D=\frac{1}{a^{44}}g(p_{1})|_{\partial M}^{-1} and this follows D_{ii}=\frac{1}{\sqrt{a_{ii}a^{44}}} where D is a diagonal matrix. Since C is a positive definite matrix, we define S=\left(D^{\frac{1}{2}}C^{T}CD^{\frac{1}{2}}\right)^{\frac{1}{2}}, and V:=D^{-1/2}SD^{-1/2}. It is straightforward to notice that both S and V are symmetric. Finally, we define B=(b_{ij}) as b_{ij}=\frac{V_{ij}}{c_{ij}}. By definition, B is a symmetric 3\times 3 matrix. Remark 4.2 . In fact, all the matrices defined above depend on the coordinate to a higher order. Since all our estimates allow higher order errors, we do not emphasize the dependence. Proposition 4.1 (Contact Angle Comparison) . Suppose \theta^{g}_{s,t}(x) is the contact angle of \Sigma_{s,t} and \partial M at x\in\partial\Sigma_{s,t} with respect to the metric g ; and \bar{\theta} is a prescribed angle function with respect to the Euclidean metric. We have (36) \displaystyle\cos\theta^{g}_{s,t}(x)=\cos\bar{\theta}(x)-4st^{2}\sum_{i}\left(\frac{(\sum_{j}c_{ij}b_{ij}x_{j})^{2}}{a_{ii}a^{44}}\right)+O(s^{2})+O(t^{3}). Proof. By straightforward computations as in dimension 3 [ 28 ] , we have \displaystyle\cos\theta^{g}_{s,t}=1-2t^{2}\sum_{i}\frac{(c_{ij}b_{ij}(1+s)x_{j})^{2}}{a_{ii}a^{44}}+O(t^{3}), and \displaystyle\cos\bar{\theta}(x)=1-2t^{2}\sum_{i}(c_{ij}x_{j})^{2}+O(t^{3}). By the definition of B , we have the following identities: \displaystyle\sum_{i}\frac{c_{ik}c_{il}b_{ik}b_{il}}{a_{ii}a^{44}} \displaystyle=\sum_{i}\frac{V_{ik}V_{il}}{a_{ii}a^{44}} \displaystyle=(VDV)_{kl} \displaystyle=(D^{-1/2}S^{2}D^{-1/2})_{kl} \displaystyle=(C^{T}C)_{kl} \displaystyle=\sum_{i}c_{ik}c_{il}, for any k,l\in\{1,2,3\} . The desired estimates then follow. ∎ We compute the mean curvature formula of parametrized hypersurfaces. Lemma 4.1 (Mean curvature formula of graphs) . Suppose \Sigma_{t} is a family of hypersurfaces which is parametrized as \Sigma_{t}=\{(tx_{1},tx_{2},tx_{3},t^{2}\{c_{ij}x_{i}x_{j}+O(t^{2})\}):\vec{x}\in E_{s}\}, where \Sigma_{t} is supported in a small neighborhood of p_{1} . Then for small t>0 , the mean curvature H_{\Sigma_{t}} under g(p_{1}) is H_{\Sigma_{t}}^{g(p_{1})}(x)=-\frac{1}{\sqrt{a^{44}}}\bigg(\sum_{i}\frac{2c_{ii}}{a_{ii}}\bigg)+O(t). Proof. The formula follows directly from the proof of Lemma 5.4 in [ 28 ] . ∎ By applying Lemma 4.1 , we obtain the following mean curvature difference directly. We denote the graph representation of \Sigma_{t} by (tx_{1},tx_{2},tx_{3},G(tx_{i})) . Proposition 4.2 . On an intersection point (tx_{1},tx_{2},tx_{3},G(tx_{i}))\in\partial M\cap\Sigma_{t} , the mean curvature difference H_{\Sigma_{t}}^{g(p_{1})}-H_{\partial M}^{g(p_{1})} is (37) H_{\Sigma_{t}}^{g(p_{1})}-H_{\partial M}^{g(p_{1})}=-2\sqrt{a^{44}}\Tr(S)+O(t). Proof. By applying Lemma 4.1 to the graphical parametrizations of \partial M and \Sigma_{s,t} in ( 34 ) and ( 35 ), respectively, we obtain the following: \displaystyle H_{\Sigma_{t}}^{g(p_{1})}-H_{\partial M}^{g(p_{1})} \displaystyle=-\frac{2}{\sqrt{a^{44}}}\bigg(\sum_{i}\frac{c_{ii}b_{ii}}{a_{ii}}\bigg)+O(t) (38) \displaystyle=-\frac{2}{\sqrt{a^{44}}}\bigg(\sum_{i}\frac{V_{ii}}{a_{ii}}\bigg)+O(t), where ( 38 ) is obtained by the definition of the matrix B . By the definition of V , we have \displaystyle V_{ii} \displaystyle=D^{-\frac{1}{2}}_{ik}S_{kl}D^{-\frac{1}{2}}_{li} \displaystyle=D^{-\frac{1}{2}}_{ii}S_{ii}D^{-\frac{1}{2}}_{ii} (39) \displaystyle=S_{ii}a_{ii}a^{44} for i=1,2,3 . By plugging ( 39 ) into ( 38 ), we obtain ( 37 ). ∎ We now compute the difference of mean curvature difference of leaves and of boundaries in between the metric g and Euclidean metric. Corollary 4.1 . The asymptotic mean curvature difference at (tx_{1},tx_{2},tx_{3},G(tx_{i}))\in\partial M\cap\Sigma_{t} is (40) \displaystyle H_{\Sigma_{t}}^{g} \displaystyle=H^{g}_{\partial M}-H^{g_{Eucl}}_{\partial M}+2\Tr(C)-2\sqrt{a^{44}}\Tr(S)+O(t). Proof. Since H_{\partial M}^{g_{Eucl}}=2\Tr(C) , we can apply Proposition 4.2 and arguments in Corollary 5.2 in [ 28 ] and obtain the formula ( 40 ). ∎ We define the limit of mean curvature on the foliation by H_{p_{+}}:=\lim_{t\rightarrow 0}H_{\Sigma_{t}}^{g}(x) . We obtain the following as a limit of mean curvature on leaves near p_{+} . Corollary 4.2 . The formula of the limit of mean curvature on the foliation H_{p_{+}} holds as (41) \displaystyle H_{p_{+}} \displaystyle=H^{g}_{\partial M}(p_{+})-H^{g_{Eucl}}_{\partial M}(p_{+})+2\Tr(C)-2\sqrt{a^{44}}\Tr(S). Proof. We directly obtain ( 41 ) by sending t to 0 in ( 40 ). ∎ We now characterize conditions of H_{p_{+}}>0 , which gives a foliation with strictly positive mean curvature near p_{+} . Proposition 4.3 . H_{p_{+}}>0 holds if and only if g(p_{1})|_{\partial M} is a multiple of an identity matrix and H_{g}^{2}g|_{\partial M}=H_{0}^{2}g_{E}|_{\partial\bar{M}} at p_{+} . Proof. Since H_{g}^{2}g|_{\partial M}\geq H_{0}^{2}g_{E}|_{\partial\bar{M}} , we have H\geq\max\bigg\{\frac{1}{\sqrt{a_{ii}}}\bigg\}_{i=1}^{3}H_{0}. Without loss of generality, let us take a_{11}=\min\{a_{ii}\} . By applying H_{\partial M}^{g_{Eucl}}=2\Tr(C) and Corollary 4.2 , we have \displaystyle H_{p_{+}} \displaystyle=H^{g}_{\partial M}(p_{+})-H^{g_{Eucl}}_{\partial M}(p_{+})+2\Tr(C)-2\sqrt{a^{44}}\Tr(S) \displaystyle\geq 2\bigg(\frac{1}{\sqrt{a_{11}}}-1\bigg)\Tr(C)+2\Tr(C)-2\sqrt{a^{44}}\Tr(S) \displaystyle=2\bigg(\frac{1}{\sqrt{a_{11}}}\Tr(C)-\sqrt{a^{44}}\Tr(S)\bigg) (42) \displaystyle=2\bigg(\frac{1}{\sqrt{a_{11}}}\Tr(C)-\sqrt{a^{44}}\Tr\left(\left(D^{\frac{1}{2}}C^{T}CD^{\frac{1}{2}}\right)^{\frac{1}{2}}\right)\bigg). Since \left(D^{\frac{1}{2}}C^{T}CD^{\frac{1}{2}}\right)^{\frac{1}{2}}\leq 1/(a_{11}a^{44})C^{T}C we have \displaystyle\left(D^{\frac{1}{2}}C^{T}CD^{\frac{1}{2}}\right)^{\frac{1}{2}} \displaystyle\leq\frac{1}{\sqrt{a_{11}a^{44}}}\left(C^{T}C\right)^{\frac{1}{2}} (43) \displaystyle\leq\frac{1}{\sqrt{a_{11}a^{44}}}C, where ( 43 ) follows from the fact that C is a symmetric matrix. By taking the trace to ( 43 ) and applying to ( 42 ), we obtain H_{p_{+}}\geq 0 and the equality holds if and only if g(p_{1})|_{\partial M} is a multiple of an identity matrix and H_{g}^{2}g|_{\partial M}=H_{0}^{2}g_{E}|_{\partial\bar{M}} at p_{+} . ∎ We prove the existence of local foliation near p_{+} whose mean curvature on leaves is nonnegative and the contact angle is larger than the angle function induced by Euclidean slices. Proposition 4.4 . Assume g(p_{1})|_{\partial M} is not a multiple of an identity matrix. Then there exists a foliation \Sigma_{s,t} near p_{+} such that H_{s,t}>0 and \theta_{s,t}^{g}(x)>\overline{\theta}(x) for each x\in\Sigma_{s,t}\cap\partial M . Proof. By Proposition 4.3 , we have H_{p_{+}}>0 . Hence, for small 00 and \theta_{s,t}^{g}(x)>\overline{\theta}(x) on boundary by Proposition 4.1 . ∎ We obtain a nonnegative mean curvature foliation when g(p_{1})|_{\partial M} is a multiple of an identity matrix, and the proof is the same as in dimension 3 case in Ko-Yao [ 28 ] . Proposition 4.5 . Assume g(p_{1})|_{\partial M} is a multiple of an identity matrix. Then there exists a nonnegative constant mean curvature foliation \Sigma_{t} with prescribed angle \overline{\theta}(x) along \partial\Sigma_{t} . Moreover, there exists a nontrivial minimizer \Omega\neq\emptyset of \mathcal{A}_{\theta_{1}} in M . Proof. The first statement directly follows from Proposition 5.5 in Ko-Yao [ 28 ] . We can apply Proposition 5.6 in Ko-Yao [ 28 ] with Proposition 4.4 , and we obtain the existence of a nontrivial minimizer \Omega\neq\emptyset of \mathcal{A}_{\theta_{1}} . ∎ 4.2. Second Slicing Let \Sigma_{1} be a connected component of a non-trivial minimizer for the first capillary functional \mathcal{A}_{\bar{\theta}_{1}} by the previous slicing. We denote the metric g|_{\Sigma_{1}} by h . The second capillary functional is a weighted capillary functional, hence it is equivalent to considering a minimizer of capillary functional with respect to the metric (\Sigma_{1}^{3},f_{1}h) , where f_{1} is the first eigenfunction of the stability operator on \Sigma from the first slicing. We denote \tilde{h}=f_{1}h . Let us consider p_{2}\in\partial\Sigma_{1} such that the x_{4} -coordinate of p_{2} is maximum over \partial\Sigma_{i} . After an appropriate rotation of the first 3 axes, without loss of generality, we take the x_{3} -axis to achieve the maximum value of x_{3} -coordinate. Our choice of x_{3} -axis implies \nabla^{\Sigma_{1}}x_{4}(p_{2})=0 and hence T_{p_{2}}\partial\Sigma_{1} agrees to T_{p_{2}}\partial\bar{\Sigma}_{1} , where \bar{\Sigma}_{1} is a corresponding codimension 1 slice in \bar{M} . We denote the second fundamental form of (\bar{\Sigma},\bar{h}) at the point p_{2} as -2M , where M=(m_{ij}) and \bar{h}=g_{E}|_{\bar{\Sigma}} is again a Euclidean metric by definition. We can write \partial\bar{\Sigma} as a graph near p_{2} as: (44) \displaystyle\partial\bar{\Sigma}=\{(x_{1},x_{2},m_{ij}x_{i}x_{j}+O(|x|^{3}))\}. Then there exists a local diffeomorphism \Psi between a small neighborhood of p_{2} in \bar{\Sigma} and a small neighborhood of p_{2} in \Sigma satisfying the following: (1) \Psi(p_{2})=p_{2} and D\Psi|_{p_{2},T_{p_{2}}\partial\bar{\Sigma}}=id ; (2) There exists a neighborhood N_{p_{2}} of p_{2} such that \Psi(\bar{\Sigma}\cap N_{p_{2}})\subset\Sigma ; (3) The pushforward metric of \tilde{h} at p_{2} in the Euclidean coordinate can be represented by (45) \displaystyle\tilde{h}_{0}=\left(\begin{matrix}\tilde{h}_{11}&0&\tilde{h}_{13}\\ 0&\tilde{h}_{22}&\tilde{h}_{23}\\ \tilde{h}_{31}&\tilde{h}_{32}&\tilde{h}_{33}\end{matrix}\right). Define \displaystyle Q=\left(\begin{matrix}\frac{1}{\tilde{h}_{11}\tilde{h}^{33}}&0\\ 0&\frac{1}{\tilde{h}_{22}\tilde{h}^{33}}\end{matrix}\right). Since Q is a positive definite matrix, we define R=\left(Q^{1/2}M^{T}MQ^{1/2}\right)^{1/2} and U=Q^{-1/2}RQ^{-1/2}. Finally, we take n_{ij}=\frac{U_{ij}}{m_{ij}}, when m_{ij}=0 , we take n_{ij}=0 . Since M and Q are all positive definite and symmetric, we know N=(n_{ij}) is also positive definite and symmetric. We can also assume that \tilde{h}=\tilde{h}_{0}+O(t) , and we construct the following graphical foliation near p_{2} as (46) \displaystyle\Gamma_{s,t}:=\{\varphi_{s,t}(x)=(tx_{1}+O(t^{3}),tx_{2}+O(t^{3}),t^{2}\left\{m_{ij}(n_{ij}(1+s)-1)x_{i}x_{j}\right\}+O(t^{4})):x\in F_{s}\}, F_{s}:=\{x\in\mathbb{R}^{2}:m_{ij}n_{ij}x_{i}x_{j}<(1+s)^{-1}\}. We use \cos\rho_{s,t}(\Psi(x)) to denote the contact angle of \Gamma_{s,t} at x with respect to the metric \tilde{h} , \cos\bar{\rho}(x) to denote the prescribed angle function \cos\bar{\theta}_{2} at the point \varphi_{s,t}(x)\in\Gamma_{s,t} in \partial\bar{\Sigma} , and \cos\bar{\rho}(\Psi(x)) to denote the prescribed angle function \cos\bar{\theta}_{2} at the point \Psi(\varphi_{s,t}(x))\in\Gamma_{s,t} in \partial\Sigma . Proposition 4.6 . We have the following comparison of contact angles (47) \displaystyle\cos\rho_{s,t}(\Psi(x))=\cos\bar{\rho}(x)-4st^{2}\sum_{i}\frac{(m_{ij}n_{ij}x_{j})^{2}}{\tilde{h}_{ii}\tilde{h}^{33}}+O(s^{2})+O(t^{3}) Proof. By straightforward computations as in dimension 3 [ 28 ] , we have \cos\rho_{s,t}(\Psi(x))=1-2(1+2s)t^{2}\sum_{i}\left(\frac{(\sum_{j}m_{ij}n_{ij}x_{j})^{2}}{\tilde{h}_{ii}\tilde{h}^{33}}\right)+O(s^{2})+O(t^{3}), and \cos\bar{\rho}(x)=1-2t^{2}\sum_{i}(m_{ij}x_{j})^{2}+O(t^{3}). By definition of N , we have the following identities: \displaystyle\sum_{i}\frac{m_{ik}m_{il}n_{ik}n_{il}}{\tilde{h}_{ii}\tilde{h}^{33}} \displaystyle=\sum_{i}\frac{U_{ik}U_{il}}{\tilde{h}_{ii}\tilde{h}^{33}} \displaystyle=(UQU)_{kl} \displaystyle=(M^{T}M)_{kl} \displaystyle=\sum_{i}m_{ik}m_{il}, for any k,l\in\{1,2\} . The desired estimates then follow. ∎ Lemma 4.2 . We have the following estimate: (48) \displaystyle\cos\bar{\rho}(x)-\cos\bar{\rho}(\Psi(x))=O(t^{3}). Proof. By Taylor expansion, we have \displaystyle\cos\bar{\rho}(\Psi(x)) \displaystyle-\cos\bar{\rho}(x) \displaystyle=-\sin\bar{\theta}_{2}(\varphi_{s,t}(x))|\Psi(\varphi_{s,t}(x))-\varphi_{s,t}(x)|+O(|\Psi(\varphi_{s,t}(x))-\varphi_{s,t}(x)|^{2}). Note that \displaystyle|\Psi(\varphi_{s,t}(x))-\varphi_{s,t}(x)| \displaystyle=|0+D\Psi|_{p_{2}}\cdot\varphi_{s,t}(x)-\varphi_{s,t}(x)+O(t^{2}) \displaystyle=O(t^{2}), we used the fact that D\Psi|_{p_{2}}=Id and we denote p_{2}=0 for simplicity. Also, we have the Taylor expansion \displaystyle\sin\bar{\theta}_{2}(\varphi_{s,t}(x)) \displaystyle=0+\cos\bar{\theta}_{2}(p_{2})|\varphi_{s,t}(x)|+O(|\varphi_{s,t}(x)|) \displaystyle=O(t). Therefore, we have \cos\bar{\rho}(\Psi(x))-\cos\bar{\rho}(x)=O(t^{3}). ∎ Corollary 4.3 . We have the following comparison of contact angles (49) \displaystyle\cos\rho_{s,t}(\Psi(x))=\cos\bar{\rho}(\Psi(x))-4st^{2}\sum_{i}\frac{(m_{ij}n_{ij}x_{j})^{2}}{\tilde{h}_{ii}\tilde{h}^{33}}+O(s^{2})+O(t^{3}). Using almost identical computations as in Ko-Yao [ 28 ] , we have the following lemma. Lemma 4.3 . Suppose \Gamma_{t} is a family of hypersurfaces which is parametrized as \Gamma_{t}:=\{(tx_{1},tx_{2},t^{2}\{m_{ij}x_{i}x_{j}+O(t^{2})\}):x\in E_{s}\} then the mean curvature under the metric \tilde{h} is \tilde{H}_{t}(x)=-\sum_{i}\frac{2m_{ii}}{\tilde{h}_{ii}\sqrt{\tilde{h}^{33}}}+O(t). As a corollary, we compute the mean curvature of \Gamma_{s,t} . Corollary 4.4 . For small s,t>0 , the mean curvature of \Sigma_{s,t} is computed as (50) \displaystyle\tilde{H}_{s,t}^{\tilde{h}}(x)=-\frac{1}{\sqrt{\tilde{h}^{33}}}\left(\frac{2m_{11}(n_{11}-1)}{\tilde{h}_{11}}+\frac{2m_{22}(n_{22}-1)}{\tilde{h}_{22}}\right)+O(s)+O(t). Let s,t\to 0 , we have (51) \displaystyle\tilde{H}_{p_{2}}:=\lim_{(s,t)\to(0,0)}\tilde{H}_{s,t}^{\tilde{h}}(x)=-\frac{1}{\sqrt{\tilde{h}^{33}}}\left(\frac{2m_{11}(n_{11}-1)}{\tilde{h}_{11}}+\frac{2m_{22}(n_{22}-1)}{\tilde{h}_{22}}\right). We have following formula relating a mean curvature on \partial\Sigma and that on \partial M . It follows from analogous argument with Lemma 2.1 in [ 8 ] and the definition of the first eigenfunction of a minimizer. Proposition 4.7 . Suppose \Sigma is a minimizer of \mathcal{A}_{\bar{\theta}_{1}} on M and f_{1} is the first eigenfunction of its stability operator. Then we have a following formula at p_{2}\in\partial\Sigma . (52) \displaystyle\tilde{H}_{\partial\Sigma}^{\tilde{h}}(p_{2})=\frac{f_{1}^{-\frac{1}{2}}}{\sin\bar{\theta}_{1}}\left(H_{\partial M}(p_{2})-\partial_{\nu}\bar{\theta}_{1}\right). Proof. We compute as (53) \displaystyle\tilde{H}_{\partial\Sigma}^{\tilde{h}}(p_{2}) \displaystyle=f_{1}^{-\frac{1}{2}}(H_{\partial\Sigma}^{h}(p_{2})+\langle\nabla\log f_{1},\,\eta\rangle) \displaystyle=f_{1}^{-\frac{1}{2}}\left(\sum_{i=1}^{2}\langle\nabla_{\tau_{i}}\tau_{i},\,\eta\rangle+\langle\nabla\log f_{1},\,\eta\rangle\right) (54) \displaystyle=f_{1}^{-\frac{1}{2}}\left(\frac{1}{\sin\bar{\theta}_{1}}\sum_{i=1}^{2}\langle\nabla_{\tau_{i}}\tau_{i},\,X-\cos\bar{\theta}_{1}N_{1}\rangle+\langle\nabla\log f_{1},\,\eta\rangle\right) (55) \displaystyle=f_{1}^{-\frac{1}{2}}\left(\frac{1}{\sin\bar{\theta}_{1}}(H_{\partial M}(p_{2})-A_{\partial M}(\nu,\nu))+\cot\bar{\theta}_{1}A_{\Sigma}(\eta,\eta)+\langle\nabla\log f_{1},\,\eta\rangle\right) (56) \displaystyle=\frac{f_{1}^{-\frac{1}{2}}}{\sin\bar{\theta}_{1}}\left(H_{\partial M}(p_{2})-\partial_{\nu}\bar{\theta}_{1}\right), where ( 53 ) follows from the mean curvature by conformal deformation, ( 54 ) is by X=\sin\bar{\theta}_{1}\eta+\cos\bar{\theta}_{1}N_{1} at p_{2} , ( 55 ) is by the minimality of \Sigma , and ( 56 ) is by the definition of f_{1} with ( 7 ) and ( 8 ). ∎ We obtain the following curvature comparison that holds at an extreme point p_{2} . Proposition 4.8 (Curvature comparison at an extreme point) . At the point p_{2} , we have the following accurate curvature comparison (57) \displaystyle H_{\partial M} \displaystyle-\partial_{\nu}\bar{\theta}_{1}\geq \displaystyle\frac{\sqrt{(\sqrt{\tilde{h}_{11}}\textup{II}(\bar{\tau}_{2},\bar{\tau}_{2})+\sqrt{\tilde{h}_{22}}\textup{II}(\bar{\tau}_{1},\bar{\tau}_{1}))^{2}+(\sqrt{\tilde{h}_{11}}-\sqrt{\tilde{h}_{22}})^{2}\textup{II}(\bar{\tau}_{1},\bar{\tau}_{2})^{2}}}{\sqrt{\tilde{h}_{11}\tilde{h}_{22}}}. The equality holds if \tilde{h}_{11}=\tilde{h}_{22} . Proof. Without loss of generality, we assume \tilde{h}_{11}\geq\tilde{h}_{22} . Let k_{1}=\sqrt{\frac{\tilde{h}_{22}}{\tilde{h}_{11}}}=\sqrt{\frac{h_{22}}{h_{11}}} , we have \displaystyle h_{11}h_{22}(H_{\partial M}-\partial_{\nu}\bar{\theta}_{1})^{2} \displaystyle=h_{11}h_{22}(H_{\partial M}-\textup{II}(\nu,\bar{\nu}))^{2} \displaystyle\geq h_{11}h_{22}(\sup_{\text{span}\{\tau_{1},\tau_{2}\}=\text{span}\{\bar{\tau}_{1},\bar{\tau}_{2}\}}\textup{II}(\tau_{1},\bar{\tau}_{1})+\textup{II}(\tau_{2},\bar{\tau}_{2}))^{2} (58) \displaystyle=(\sqrt{h_{22}}\textup{II}_{11}+\sqrt{h_{11}}\textup{II}_{22})^{2}+(\sqrt{h_{11}}-\sqrt{h_{22}})^{2}\textup{II}_{12}^{2}, where we use \textup{II}_{ij}=\textup{II}(\bar{\tau}_{i},\bar{\tau}_{j}) for simplicity. The equality ( 58 ) comes from Von Neumann inequality of the trace. The equality condition follows from the equality condition H_{\partial M}^{2}g|_{F^{\#}\textup{II}_{+}}=\bar{H}_{\partial M}^{2}g_{E}|_{\textup{II}_{+}} of Proposition ( 3.1 ). ∎ With the curvature comparison Proposition 4.8 , we have the following nonnegative mean curvature foliation. Corollary 4.5 . (59) \displaystyle\tilde{H}_{p_{2}}:=\lim_{(s,t)\to(0,0)}\tilde{H}_{s,t}^{\tilde{h}}(x)=-\frac{2}{\sqrt{\tilde{h}^{33}}}\left(\frac{m_{11}(n_{11}-1)}{\tilde{h}_{11}}+\frac{m_{22}(n_{22}-1)}{\tilde{h}_{22}}\right)\geq 0. The equality holds if \tilde{h}_{11}=\tilde{h}_{22} . Proof. By definition of M , we know m_{ij}=-\frac{1}{2\sin\bar{\theta}_{1}(p_{2})}\textup{II}(\bar{\tau}_{i},\bar{\tau}_{j}). By definition of n_{ij} , we have n_{ii}=\sqrt{\tilde{h}^{33}}\frac{\tilde{h}_{ii}(m_{11}m_{22}-m_{12}^{2})+\sqrt{\tilde{h}_{11}\tilde{h}_{22}}(m_{ii}^{2}+m_{12}^{2})}{m_{ii}\sqrt{(\sqrt{\tilde{h}_{11}}m_{22}+\sqrt{\tilde{h}_{22}}m_{11})^{2}+(\sqrt{\tilde{h}_{11}}-\sqrt{\tilde{h}_{22}})^{2}m_{12}^{2}}}. Then we have \displaystyle\sum_{i=1}^{2} \displaystyle\frac{m_{ii}n_{ii}}{\sqrt{\tilde{h}^{33}}\tilde{h}_{ii}}= \displaystyle\frac{2(m_{11}m_{22}-m_{12}^{2})+\left(\sqrt{\tilde{h}_{11}/\tilde{h}_{22}}+\sqrt{\tilde{h}_{22}/\tilde{h}_{11}}\right)m_{12}^{2}+\sqrt{\tilde{h}_{22}/\tilde{h}_{11}}m_{11}^{2}+\sqrt{\tilde{h}_{11}/\tilde{h}_{22}}m_{22}^{2}}{\sqrt{(\sqrt{\tilde{h}_{11}}m_{22}+\sqrt{\tilde{h}_{22}}m_{11})^{2}+(\sqrt{\tilde{h}_{11}}-\sqrt{\tilde{h}_{22}})^{2}m_{12}^{2}}} \displaystyle=\frac{\sqrt{(\sqrt{\tilde{h}_{11}}m_{22}+\sqrt{\tilde{h}_{22}}m_{11})^{2}+(\sqrt{\tilde{h}_{11}}-\sqrt{\tilde{h}_{22}})^{2}m_{12}^{2}}}{\sqrt{\tilde{h}_{11}\tilde{h}_{22}}} \displaystyle=\frac{\sqrt{(\sqrt{{h}_{11}}m_{22}+\sqrt{{h}_{22}}m_{11})^{2}+(\sqrt{{h}_{11}}-\sqrt{{h}_{22}})^{2}m_{12}^{2}}}{\sqrt{{h}_{11}{h}_{22}}} Also note that \displaystyle\sum_{i=1}^{2} \displaystyle\frac{m_{ii}}{\sqrt{\tilde{h}^{33}}\tilde{h}_{ii}}=\tilde{H}_{\partial\Sigma}=\frac{f_{1}^{-1/2}(p_{2})}{2\sin\bar{\theta}_{1}(p_{2})}\left(H_{\partial M}-\partial_{\nu}\bar{\theta}_{1}\right) \displaystyle=\frac{1}{2\sin\bar{\theta}_{1}}\left(H_{\partial M}-\partial_{\nu}\bar{\theta}_{1}\right), where we rescale f_{1} to be one at the point p_{2} . We now conclude that ( 59 ) is equivalent to ( 57 ) and the equality follows from the same condition. ∎ Since we have the equality condition \tilde{h}_{11}=\tilde{h}_{22} at p_{2} , we can apply the construction of CMC foliation which does not depend on the dimension as in [ 28 ] . Corollary 4.6 . There exists a non-negative mean curvature foliation \Gamma_{t} with prescribed angle \bar{\theta}_{2} along \partial\Gamma_{t} , and there exists a nontrivial minimizer of \mathcal{A}_{\bar{\theta}_{2}} . Proof. We obtain the nontrivial barrier when \tilde{h}_{11}\neq\tilde{h}_{22} from Corollary 4.5 and can apply the arguments in Proposition 5.6 in [ 28 ] . The CMC foliation arguments are identical to Proposition 5.5 in [ 28 ] . ∎ Proof of Theorem 1.2 . By Proposition 4.5 and Corollary 4.6 , there exists a nontrivial minimizer for each slicing. Moreover, the conditions (1) and (2) are satisfied by our choice of the angle functionals \{\bar{\theta}_{i}\}_{i=1,2} and the regularity of the minimizers in Chodosh-Edelen-Li [ 11 ] . ∎ 5. Proof of Main Theorem In this section, we prove the local splitting theorem based on the existence of nontrivial minimizer of capillary functionals \mathcal{A}_{\overline{\theta}_{1}} and \mathcal{A}_{\overline{\theta}_{2}} , and complete to prove the main rigidity statement. Assuming the nontrivial minimizer is flat, we prove that there is a dense set of slices which are all flat Euclidean slices on both sides of the minimizer. We apply this technique which first appeared in Carlotto-Chodosh-Eichmair [ 6 ] , whose conformal deformation of metrics studied earlier in Ehrlich [ 15 ] and Liu [ 35 ] . The compactness argument is based on the recent regularity theory of area-minimizing hypersurfaces by Chodosh-Edelen-Li [ 11 ] and [ 12 ] . 5.1. Curvature estimate of area-minimizing capillary minimal hypersurfaces We prove curvature estimates of area-minimizing capillary minimal hypersurfaces when the dimension of an ambient manifold is bounded by 4 . The argument is based on the standard rescaling argument. Recall that the rescaling limit of the area-minimizer of capillary minimal hypersurface is capillary minimal hypersurface with a constant contact angle in a half-space. We first prove the following Bernstein-type lemma when the capillary angle is constant based on the classification of minimizing cone of a capillary area functional by Chodosh-Edelen-Li (Theorem 1.2 of [ 11 ] ). Lemma 5.1 . Suppose n+1\leq 4 and \theta\in(0,\pi) . \Sigma^{n} is a properly embedded capillary minimal hypersurface with a contact angle \theta in \mathbb{R}^{n+1}_{+} which minimizes \mathcal{A}^{\theta} -functional. Then \Sigma^{n} is a flat half-hyperplane. Proof. Suppose \Sigma^{n} is not a half-hyperplane and we prove by contradiction. Take x\in\Sigma^{n}\cap\partial\mathbb{R}^{n+1} and consider a blow-down limit \Sigma_{x,\infty}=\lim_{r\rightarrow\infty}\mu_{r,x}(\Sigma) , where \mu_{r,x}(y)=(y-x)/r is a scaling map by scale 1/r for y\in\mathbb{R}^{n+1}_{+} . Then by the classification of area-minimizing cone of capillary area functional by Chodosh-Edelen-Li (Theorem 1.2 of [ 11 ] ), we have \Sigma_{x,\infty} is a half-hyperplane. Now let us consider a density functional \Theta_{\theta}(x,r)(\Sigma)=\frac{|\Sigma\cap B_{r}(x)|-\cos\theta\,|\partial\mathbb{R}^{n+1}_{+}\cap\partial\Omega_{x,\infty}\cap B_{r}(x)|}{\omega_{n-1}r^{n}/n}, where \Omega_{x,\infty} is a fixed domain separated by \Sigma_{x,\infty} in \mathbb{R}^{n+1}_{+} . Then by the monotonicity formula of the capillary functional by Kagaya-Tonegawa [ 27 ] , \Theta_{\theta}(x,r) is a monotonically increasing functional by r for a fixed x . Since \Theta_{\theta}(x,r)(\Sigma)=\Theta_{\theta}(x,1)(\mu_{r,x}(\Sigma)) , the density function d_{x}(r):=\Theta_{\theta}(x,1)(\mu_{r,x}(\Sigma)) is a monotonically increasing function by r . Also, since the area-minimizing capillary minimal hypersurfaces have a Euclidean volume growth, there exists a density at infinity d_{x,\infty}:=\lim_{r\rightarrow\infty}d_{x}(r)<\infty . Since \Sigma_{x,\infty} is a half-hyperplane, d_{x,\infty}=(1-\cos\theta)/2 . Also, since d_{x,0}:=\lim_{r\rightarrow 0}d_{x}(r)=(1-\cos\theta)/2 , we have d_{x}(r)\equiv(1-\cos\theta)/2 and this gives that \Sigma is a flat half-hyperplane and this contradicts our assumption. ∎ We now prove the curvature estimate based on Lemma 5.1 . Theorem 5.1 . Suppose n+1\leq 4 and \Sigma is a capillary minimal hypersurface with a prescribed contact angle function \overline{\theta} which minimizes a functional \mathcal{A}_{\overline{\theta}} on (M,g) whose boundary is mean convex. Also, assume that there exists \epsilon>0 such that \overline{\theta}(x)\in(\epsilon,\pi-\epsilon) at point x\in\Sigma . Then \sup_{x\in\Sigma}|A_{\Sigma}|(x)\leq C(M,g), where C can be chosen only depending on M and the metric g and which is uniform by a compact family of smooth metrics g . Proof. Let us prove by contradiction and assume that there is a sequence of \Sigma_{j} such that \lambda_{j}:=\sup|A_{\Sigma_{j}}|\rightarrow\infty as j goes to infinity. Then there exists a sequence of points \{x_{j}\} such that |A_{\Sigma_{j}}|(x_{j})=\lambda_{j} . Consider the scaled sequence of capillary minimal hypersurfaces \mu_{1/\lambda_{j},x_{j}}(\Sigma_{j})=\lambda_{j}(\Sigma_{j}-x_{j}) . Then we have |A_{\mu_{1/\lambda_{j},x_{j}}(\Sigma_{j})}|(0)=1 for any j . Since |A_{\mu_{1/\lambda_{j},x_{j}}(\Sigma_{j})}|\leq 1 everywhere, the manifold \mu_{1/\lambda_{j},x_{j}}(M) smoothly and graphically converges to a limit capillary hypersurface \Sigma_{\infty}\subseteq\mathbb{R}^{n+1}_{+} by elliptic PDE theory, and we have A_{\Sigma_{\infty}}(0)=1 . Note that the contact angle \overline{\theta}_{\infty} is a constant and satisfies \overline{\theta}_{\infty}\in[\epsilon,\pi-\epsilon] . We can apply Lemma 5.1 and obtain that \Sigma_{\infty} is a flat half-hypersurface and this contradicts to A_{\Sigma_{\infty}}(0)=1 . Hence we have \sup_{x\in\Sigma}|A_{\Sigma}|(x)\leq C(M,g) . ∎ Remark 5.1 . We took a uniform angle bound (\epsilon,\pi-\epsilon) of a contact angle \overline{\theta} in Theorem 5.1 because we cannot guaranty Lemma 5.1 when the contact angle degenerates on \Sigma . By our definition of contact angle functions \bar{\theta}_{1} and \bar{\theta}_{2} , the contact angle degeneracy only occurs at the extreme points and this does not happen for the minimizers by maximum principle. Hence, Theorem 5.1 can be applied to all infinitesimally rigid solids we will construct later. 5.2. Infinitesimally rigid surfaces We first analyze the equality cases from the local estimates in Section 3 . We generalize the rigidity analysis in dimension 3 cases in Ko-Yao [ 28 ] . We start with the rigidity analysis of \Sigma_{2}=\Gamma^{2} . We call \Gamma infinitesimally rigid if one component of \Gamma which has a nonempty boundary satisfies the following: (60) \displaystyle\chi(\Gamma)=1,\quad\nabla^{\Sigma}f_{1}=0,\quad\|A_{\Gamma}\|=0,\quad K_{\Gamma}=0\quad\text{ on }\Gamma; (61) \displaystyle\kappa_{\partial\Gamma}=\frac{H_{\partial M}}{\bar{H}_{\partial M}}\kappa_{\partial\bar{\Gamma}},\quad\quad g(\eta,N_{2})=\cos\bar{\theta}_{2}\quad\text{ on }\partial\Gamma, and \tau_{1}\parallel\bar{\tau}_{1},\quad\tau_{2}\parallel\bar{\tau}_{2},\quad\nu\parallel\bar{\nu}. Also, we denote \tau_{3}=\nu and \overline{\tau}_{3}=\overline{\nu} for convenience of notation. Theorem 5.2 (Rigidity Analysis of \Gamma ) . Suppose \Gamma is a non-trivial minimizer of \mathcal{A}_{\bar{\theta}_{2}} in \Sigma , and \Sigma is a nontrivial minimizer of \mathcal{A}_{\bar{\theta}_{1}} , then \Gamma is an infinitesimally rigid surface in \Sigma . Also, we obtain \|A_{\Sigma}\|=0 on \Gamma . Moreover, we have \tau_{i}=\frac{H_{\partial M}}{\bar{H}_{\partial M}}\bar{\tau}_{i}. for i=1,2 . Proof. By the local estimate (Corollary 3.1 ) for n=2 , the winding number argument for n=2 (Proposition 3.2 ) and the second variation formula ( 12 ), we have \displaystyle 2\pi \displaystyle\geq\int_{\Gamma}-\frac{3}{4}|\nabla^{\Gamma}\log f_{1}|^{2}-\frac{1}{2}\left(R_{g}+\|A_{\Sigma}\|^{2}+\|A_{\Gamma}\|^{2}+H_{\Gamma}^{2}\right)+K_{\Gamma}+\int_{\partial\Gamma}k_{g} \displaystyle=\int_{\partial\Gamma}\frac{1}{\sin\bar{\theta}_{1}\sin\bar{\theta}_{2}}\left(H_{\partial M}-\partial_{\nu}\bar{\theta}_{1}-\sin\bar{\theta}_{1}\partial_{\tau_{2}}\bar{\theta}_{2}\right) \displaystyle\geq 2\pi. By tracing equalities above, we have \chi(\Gamma)=1,\quad\nabla^{\Gamma}f_{1}=0,\quad\|A_{\Gamma}\|=0,\quad\|A_{\Sigma}\|=0,\quad R_{g}=0\text{ and }H_{\Gamma}=0. By H_{\Gamma}=0 and the first variation formula (Proposition 2.2 ), we have \nabla^{\Sigma}f_{1}=0 . The boundary angle condition g(\eta,N_{2})=\cos\bar{\theta}_{2} follows from the first variation formula. Moreover, we have K_{\Gamma}=0 since a constant function is a Jacobi vector field of equation with Robin boundary condition in the interior of \Gamma . By the boundary part of the equation with Robin boundary condition, we have \displaystyle\kappa_{\partial\Gamma} \displaystyle=\frac{1}{\sin\bar{\theta}_{1}\sin\bar{\theta}_{2}}\left(H_{\partial{M}}-\partial_{\nu}\bar{\theta}_{1}-\sin\bar{\theta}_{1}\partial_{\tau_{2}}\bar{\theta}_{2}\right) (62) \displaystyle=\frac{|\nu|_{g_{Eucl}}}{\sin\bar{\theta}_{1}\sin\bar{\theta}_{2}}\left(\bar{H}_{\partial{M}}-\partial_{\bar{\nu}}\bar{\theta}_{1}-\sin\bar{\theta}_{1}\partial_{\bar{\tau}_{2}}\bar{\theta}_{2}\right) \displaystyle=|\nu|_{g_{Eucl}}\kappa_{\partial\bar{\Gamma}}=\frac{H_{\partial M}}{\bar{H}_{\partial M}}\kappa_{\partial\bar{\Gamma}}, where ( 62 ) follows from the equality case of Corollary 3.1 . The last statement follows by combining arguments in Corollary 3.1 and the nonzero assumption on the second fundamental form. ∎ Analogously, we proceed to the rigidity analysis of \Sigma . We now suppose that the induced metric g|_{\Sigma} is a Euclidean metric as an induction hypothesis, which we will prove by global isometry statement later. We prove the infinitesimal rigidity of \Sigma as follows. Proposition 5.1 (Rigidity Analysis of \Sigma ) . \Sigma is infinitesimally rigid in the sense that \text{Ric}_{M}(N_{1},N_{1})=0,\quad\|A_{\Sigma}\|=0\quad\text{on }\Sigma, and H_{\partial\Sigma}=\frac{H_{\partial M}}{\bar{H}_{\partial M}}H_{\partial\bar{\Sigma}} on \partial\Sigma . Proof. We proved \|A_{\Sigma}\|=0 on \Gamma in Theorem 5.2 and rigidity arguments by an induction hypothesis give that \|A_{\Sigma}\|=0 on \Sigma . Moreover, we assumed the rigidity, namely the flatness of \Sigma which implies R_{\Sigma}=0 , we have R_{\Sigma}=R_{M}-2\text{Ric}_{M}(N_{1},N_{1})+\|A_{\Sigma}\|^{2}-\|H_{\Sigma}\|^{2} and we obtain \text{Ric}_{M}(N_{1},N_{1})=0 from the minimality of \Sigma in M . Since we have an isometry between \Sigma and a Euclidean model, H_{\partial\Sigma}=\frac{H_{\partial M}}{\bar{H}_{\partial M}}H_{\partial\bar{\Sigma}} on \partial\Sigma follows. ∎ 5.3. Global rigidity We now prove the main rigidity theorem. The idea is to construct an infinitesimally rigid capillary hypersurface in a conformally deformed metric of g near the infinitesimal rigid hypersurface \Sigma . This gives a dense set of Euclidean capillary slices on both sides of \Sigma . We adapt the technique of [ 6 ] and [ 35 ] for this construction up to dimension 4 , where they developed the technique in dimension 3 which can be extended directly (See [ 33 ] for high dimensional free boundary setting). We take the construction of conformally deformed metric from Appendix A . Proof of Theorem 1.4 . We prove the statement by induction, namely we prove the rigidity of \Gamma in \Sigma and those of \Sigma in M with the same idea, while the latter statement will be proven under the hypothesis of the former one. Since \Gamma is a capillary minimal surface with a contact angle \bar{\theta}_{2} in \Sigma with the metric g^{\prime}=f_{1}g , we prove at once by unifying the notation by \Sigma^{n-1}\subseteq M^{n} , the contact angle by \bar{\theta} , and the extreme point by p_{+} without loss of generality, where n=3,4 . Denote the region of M separated by \Sigma which contains p_{+} by M_{+} . Denote the unit normal vector field on \Sigma by N . Now let us take p\in M_{+} and take the metric g(t) by applying Proposition A.1 . Then (M_{+},g(t)) is a mean convex solid whose wedge part is on \partial\Sigma . Let us take \mathcal{E} as a class of open sets with finite perimeter containing p_{+} . We consider a minimization problem on (M_{+},g(t)) as follows: (63) \displaystyle\mathcal{I}_{t}:=\inf\{\mathcal{A}_{\bar{\theta}}(U):U\in\mathcal{E}\}. We denote a minimizer of ( 63 ) by U_{t} . Then \Sigma_{t}:=\partial_{rel}U_{t} is achieved with a capillary minimal hypersurface which is disjoint with \Sigma by maximum principle and the convexity condition (5) of Proposition A.1 . Also by the construction, \Sigma_{t} must intersect B_{3r_{0}}(p) by the metric comparison, otherwise it contradicts to the fact that \Sigma is a minimizer of \mathcal{A}_{\bar{\theta}} in (M,g) . If \Sigma_{t} does not intersect B_{3r_{0}}(p) , then we have \mathcal{A}^{g}_{\bar{\theta}}(\Sigma)\leq\mathcal{A}_{\bar{\theta}}^{g}(\Sigma_{t})=\mathcal{A}_{\bar{\theta}}^{g(t)}(\Sigma_{t})<\mathcal{A}_{\bar{\theta}}^{g(t)}(\Sigma)\leq\mathcal{A}_{\bar{\theta}}^{g}(\Sigma), where we used the fact that \Sigma is strictly mean convex at one interior point with respect to the metric g(t) . Suppose \Sigma_{t} does not intersect B_{r_{0}}(p) . Then R_{g(t)}\geq 0 along \Sigma_{t} and there exists a point q\in\Sigma_{t}\cap(B_{3r_{0}}(p)\setminus B_{r_{0}}(p)) with R_{g(t)}(q)>0 by the condition (4) in Proposition A.1 . This contradicts the rigidity in Theorem 5.2 and Proposition 5.1 , which gives R_{g(t)}\equiv 0 on \Sigma_{t} . Hence, \Sigma_{t} intersects B_{r_{0}}(p) . For small \epsilon>0 , there exists a family of capillary hypersurfaces \{\Sigma_{t}\}_{t\in(0,\epsilon)} . By Theorem 5.1 , \Sigma_{t} smoothly converges to area-minimizing capillary minimal hypersurface \Sigma^{\prime} in (M_{+},g) which is disjoint to \Sigma since \Sigma^{\prime} intersects B_{r_{0}}(p) . Note that \Sigma^{\prime} is an infinitesimally rigid hypersurfaces in (M,g) by the rigidity theorems. With different choices of small r_{0} and p , we can repeat the previous procedure to obtain \Sigma^{\prime} and let \Sigma^{\rho} be a corresponding infinitesimally rigid hypersurface with \rho=r_{0} in (M,g) . Let us take \mathcal{C} by a dense subset of (0,\epsilon) and consider \{\Sigma^{\rho}\}_{\rho\in\mathcal{C}} . Then \cup_{\rho\in\mathcal{C}}\Sigma^{\rho} is dense near \Sigma and each surface \Sigma^{\rho} is an infinitesimally rigid area minimizing capillary hypersurface. Hence, we can assume that there exists \Sigma^{\rho} such that \Sigma^{\rho} intersects B_{\epsilon}(q) for any q\in\partial\Sigma and \epsilon>0 . By the curvature estimate (Theorem 5.1 ), there exists uniform constant C such that \partial\Sigma^{\rho} intersects B_{C\epsilon}(q) which only depends on M and g . This gives a boundary denseness of \{\Sigma^{\rho}\}_{\rho\in\mathcal{C}} on a small neighborhood of \Sigma on M_{+} . Let us take a vector field X on \Sigma such that \langle X,N\rangle=1 on \Sigma and tangential to \partial M on \partial\Sigma and extend to M and denote this vector field by Y . We take a one-parameter family of diffeomorphism \phi_{t} on M which is generated by Y . For \rho\in\mathcal{C} , each \Sigma^{\rho} can be represented as a graph by \{\phi_{u^{\rho}(x)}(x)\,:\,x\in\Sigma\}. We fix a point x_{0}\in\Sigma and define d_{\rho}=u^{\rho}(x)/u^{\rho}(x_{0}) . By arguing as in [ 35 ] , which computes the first variation of the second fundamental form of \Sigma_{\rho} , and by taking the limit f of d_{\rho} as \rho\rightarrow 0 , we obtain (64) \nabla_{\Sigma}^{2}f(Z,W)+\text{Rm}_{M}(N,Z,W,N)=0 for all tangential vectors Z,W on \Sigma . By tracing ( 64 ), we have \Delta_{\Sigma}f=0 since \text{Ric}_{M}(N,N)=0 by infinitesimal rigidity. Moreover, since f is induced by Jacobi field on \Sigma , we have a boundary condition as follows by applying |A_{\Sigma}|\equiv 0 from infinitesimal rigidity: (65) \partial_{\eta}f=\left(\frac{1}{\sin\overline{\theta}_{1}}A_{\partial M}(\nu,\nu)+\frac{1}{\sin^{2}\overline{\theta}_{1}}\partial_{\nu}\cos\overline{\theta}_{1}\right)f. Moreover, \partial_{\eta}f=0 follows from the rigidity conditions of the stability inequalities in Proposition 2.1 , 2.2 , and Lemma 2.4 . By Green’s formula, we obtain that u is a constant and \text{Rm}_{M}(N,Z,W,N)=0 . By Codazzi equation, we obtain \text{Rm}_{M}\equiv 0 on \Sigma . Since \{\Sigma^{\rho}\}_{\rho\in\mathcal{C}} is a dense subset in a small neighborhood of \Sigma together with a boundary curvature condition of Theorem 5.2 and Proposition 5.1 , there exists a small neighborhood of \Sigma that is isometric to Euclidean domain (up to rescaling). We can iterate this procedure along all M_{+} and obtain global isometry by applying these arguments to M\setminus M_{+} . ∎ Proof of Theorem 1.3 . By assuming the regularity of capillary area functional in higher dimension, the curvature estimate in Section 5.1 follows. The infinitesimal rigidity follows from our estimates in Section 2 and 3. The global rigidity with the construction of a dense set of Euclidean capillary slices do not depend on the dimension as far as the curvature estimate holds (See [ 33 ] also), Theorem 1.3 holds with the assumptions in the statement. ∎ Appendix A Conformally deformed metric near infinitesimally rigid hypersurfaces The following proposition follows from an extension of Carlotto-Chodosh-Eichmair [ 6 ] , see also Li [ 33 ] for adaption in the high dimensional free boundary setting. We include the construction for the sake of completeness here. Proposition A.1 (Liu [ 35 ] , Carlotto-Chodosh-Eichmair [ 6 ] , Li [ 33 ] ) . Suppose \Sigma^{n-1} is an infinitesimally rigid hypersurfaces in M^{n} . Suppose r_{0}>0 is a fixed small enough positive parameter and p\in\Omega is a fixed interior point such that \text{dist}_{g}(p,\Sigma)\in(1.5r_{0},2.5r_{0}) , \text{dist}_{g}(p,\partial M)>4r_{0} and \frac{\partial r}{\partial N_{1}}>0 in \Sigma\cap B_{3r_{0}}(p) . Then there exists an \epsilon>0 and a family of Riemannian metrics \{g(t)\}_{t\in(0,\epsilon)} in the conformal class of g with the following properties: (1) g(t)\to g smoothly as t goes to 0 ; (2) g(t)=g on M\setminus B_{3r_{0}}(p) ; (3) g(t)\leq g as metrics on M , and the inequality is strict on the annuli B_{3r_{0}}(p)\setminus B_{r_{0}}(p) ; (4) R_{g(t)}>0 on B_{3r_{0}}(p)\setminus B_{r_{0}}(p) ; (5) \Sigma is weakly mean convex and strictly mean convex at one interior point with respects to the metric g(t) and the unit normal vector field pointing outward from \Omega . Proof. Let r_{0} be small enough such that on any geodesic ball B_{3r_{0}}(q) , the inequality \Delta_{g}(\text{dist}_{g}^{2}(\cdot,q))<4n holds. The existence of r_{0} follows from the compactness of M . Let us take a smooth function f:\mathbb{R}\rightarrow\mathbb{R} whose support is in [0,3] and satisfies f(s)=-\text{exp}\left(\frac{16n+8}{s}\right) for s\in(1,3) . Note that f satisfies f^{\prime}(s)>0 and (4n-1)f^{\prime}(s)+sf^{\prime\prime}(s)<0 in (1,3) . We consider a function v:M\rightarrow\mathbb{R} given by v(x)=r_{0}^{2}f\left(\frac{\text{dist}_{g}(x,p)}{r_{0}}\right). In B_{3r_{0}}(p)\setminus B_{r_{0}}(p) , we have \Delta_{g}v=r_{0}f^{\prime}\left(\frac{r}{r_{0}}\right)\Delta_{g}r+f^{\prime\prime}\left(\frac{r}{r_{0}}\right)<(4n-1)\frac{r_{0}}{r}f^{\prime}\left(\frac{r}{r_{0}}\right)+f^{\prime\prime}\left(\frac{r}{r_{0}}\right)<0. Now we take g(t)=(1+tv)^{\frac{4}{n-2}}g . The conditions (1)-(3) are satisfied directly and we now check the conditions non-negativeness of scalar curvature (4) and the preservation of weakly convex boundary (5). We have R(g(t))=(1+tv)^{\frac{n+2}{n-2}}\left(\frac{-4(n-1)t}{n-2}\Delta_{g}v+R(g)(1+tv)\right)>0 for positive t and we verify (4) in B_{3r_{0}}(p)\setminus B_{r_{0}}(p) . Similarly, by the mean curvature formula by conformal change, along \Sigma we have \displaystyle H_{\Sigma,g(t)}=(1+tv)^{-\frac{n}{n-2}}\left(H_{\Sigma,g}+\frac{2(n-1)t}{n-2}\frac{\partial v}{\partial N_{1}}\right)>0, the condition (5) is verified. ∎