Manon Costa
email: manon.costa@math.univ-toulouse.fr

Christèle Etchegaray
email: christele.etchegaray@inria.fr

Sepideh Mirrahimi
email: sepideh.mirrahimi@math.univ-toulouse.fr

Survival criterion for a population subject to selection and mutations ; Application to temporally piecewise constant environments

Keywords: Parabolic integro-differential equations, Hamilton-Jacobi equation with constraint, Dirac concentrations, Adaptive evolution. MSC 2010 classification: 35K55, 35B40, 35D40, 35R09, 92D15

We study a parabolic Lotka-Volterra type equation that describes the evolution of a population structured by a phenotypic trait, under the effects of mutations and competition for resources modelled by a nonlocal feedback. The limit of small mutations is characterized by a Hamilton-Jacobi equation with constraint that describes the concentration of the population on some traits. This result was already established in [BP08, BMP09, LMP11] in a time-homogenous environment, when the asymptotic persistence of the population was ensured by assumptions on either the growth rate or the initial data. Here, we relax these assumptions to extend the study to situations where the population may go extinct at the limit. For that purpose, we provide conditions on the initial data for the asymptotic fate of the population. Finally, we show how this study for a time-homogenous environment allows to consider temporally piecewise constant environments.

Introduction

Model and motivations

In this paper, we study the asymptotic behaviour of solutions to parabolic Lotka-Volterra type equations used to model the evolutionary dynamics of a population where individuals are characterized by a phenotypic trait x ∈ R d . The population density (t, x) → n(t, x) satisfies the integro-differential problem

     ∂ t n(t, x) -σ∆n(t, x) = n(t, x)R(x, I(t)), x ∈ R d , t > 0, I(t) = R d ψ(x)n(t, x)dx , n(0, x) = n 0 ∈ L 1 (R d ), n 0 ≥ 0 . (1)
The population follows a selection-mutation dynamics, describing the interplay between ecology and evolution via the competition for resources. The term R(x, I) models the growth rate of individuals with trait x depending on the nonlocal interaction term I(t). This interaction term I represents the total consumption of a resource, with ψ(x) being the trait-dependent consumption rate. The growth rate R is then naturally assumed decreasing in I. Mutations are described by the Laplace term and arise with rate σ. Such macroscopic selection-mutation models can in fact be obtained from stochastic individual-based population models in a large population limit (see [START_REF] Fournier | A microscopic probabilistic description of a locally regulated population and macroscopic approximations[END_REF][START_REF] Champagnat | From individual stochastic processes to macroscopic models in adaptive evolution[END_REF] and subsequent works).

The qualitative behavior of integro-differential selection-mutation models have been widely studied (see for instance [CC04, DJMP05, DJMR08, BP08, JR11, Rao12]). These works mainly investigate the long time behavior of the solutions [START_REF] Desvillettes | On mutation-selection dynamics for continuous structured populations[END_REF][START_REF] Jabin | On selection dynamics for competitive interactions[END_REF], the stability of stationary solutions [START_REF] Calsina | Small mutation rate and evolutionarily stable strategies in infinite dimensional adaptive dynamics[END_REF][START_REF] Raoul | Local stability of evolutionary attractors for continuous structured populations[END_REF] and the asymptotic behavior of the solutions for instance in the regime of small mutations [START_REF] Diekmann | The dynamics of adaptation: An illuminating example and a Hamilton-Jacobi approach[END_REF][START_REF] Barles | Dirac concentrations in Lotka-Volterra parabolic PDEs[END_REF]. Here, we are mainly interested in an approach based on Hamilton-Jacobi equations with constraint that allows to study the asymptotic solutions in the regime of small mutations and in long time. This approach, which has been developed during the last decade to study models from evolutionary biology, was first suggested in [START_REF] Diekmann | The dynamics of adaptation: An illuminating example and a Hamilton-Jacobi approach[END_REF]. The approach was rigorously justified in [BP08, [START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF][START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF] in the case of homogenous environments and then was extended to study more complex models with possible heterogeneity. Here, we will first focus on the case of homogeneous environments but extend the previous results in [ [START_REF] Barles | Dirac concentrations in Lotka-Volterra parabolic PDEs[END_REF][START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF][START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF] to consider general initial conditions. We will next show how this result would allow us to treat the case with a temporally piecewise constant environment.

We assume that mutations have a small effect, and we change the time scale to study the effect of mutations on the evolution of the population. More precisely, taking σ = ε 2 and making the change of variable t → t/ε, one obtains the rescaled problem

∂ t n ε -ε∆n ε = 1 ε n ε R(x, I ε (t)), x ∈ R d , t > 0, n ε (t = 0) = n 0 ε ∈ L 1 (R d ), n 0 ε ≥ 0 , (2)
I ε (t) = R d ψ(x)n ε (t, x)dx . (3)
The study of the asymptotic solutions as ε → 0 has been carried out using a Hamilton-Jacobi approach [BP08, [START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF][START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF]. With this scaling, the selection is fast compared to the diversification of traits arising from mutations. As a consequence, we expect that as ε → 0, n ε (t, •) concentrates as a Dirac mass which evolves in time. A classical method to study such asymptotic solutions consists in making the Hopf-Cole transformation n ε (t, x) = e uε(t,x) ε

.

The problem (2) then rewrites on u ε as

∂ t u ε -ε∆u ε = |∇u ε | 2 + R(x, I ε (t)), x ∈ R d , t > 0, u ε (t = 0) = ε ln n 0 ε . (4)
In [START_REF] Barles | Dirac concentrations in Lotka-Volterra parabolic PDEs[END_REF][START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF][START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF], the authors establish the convergence, up to a subsequence, of (u ε ) ε towards a function u which is solution of a Hamilton-Jacobi equation in the viscosity sense [START_REF] Crandall | User's Guide to Viscosity Solutions of Second Order Partial Differential Equations[END_REF][START_REF] Barles | Solutions de viscosité des équations de Hamilton-Jacobi[END_REF], for different sorts of growth rates. In those earlier works, the assumptions ensured the persistence of the population at the limit: in [START_REF] Barles | Dirac concentrations in Lotka-Volterra parabolic PDEs[END_REF][START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF], the growth rate was bounded and everywhere positive for a non-zero small enough total population size. In [START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF], the growth rate was assumed concave, and the initial condition was taken such that the population was viable.

In this paper, we relax these assumptions to take into account more general growth functions and no strong constraint on the initial condition. In particular, the population may not be viable at initial time and may become extinct in the limit of small mutations. We provide conditions on the initial state for the asymptotic fate of the population in a constant environment. Moreover, our result allows us to treat the case where the environment is piecewise constant in time, extending in this way the Hamilton-Jacobi framework to models involving sudden variations of the environment. Let us introduce the problem under study for a temporally piecewise constant environment.

For E a discrete space, consider e : R + → E a piecewise constant function describing the environment. It is equivalently defined by the increasing sequence (T i ) i∈N in R + and the sequence (e i ) i∈N in E, such that for all t ∈ R + , there exists j ∈ N such that T j ≤ t < T j + 1 and e(t) = e j . Now, while still assuming that mutations have a small effect by taking σ = ε 2 in (1), we also consider that the environment varies slowly compared to the birth and death events. As a consequence, the growth rate now writes R(x, e(εt), I(t)). Therefore, using the same change of variables as before, t → t/ε, one obtains the rescaled problem in a temporally piecewise constant environment, that writes

     ∂ t n ε -ε∆n ε = 1 ε n ε R(x, e(t), I ε (t)), x ∈ R d , t > 0, I ε (t) = R d ψ(x)n ε (t, x)dx , n ε (t = 0) = n 0 ε ∈ L 1 (R d ), n 0 ε ≥ 0 , (5)
and from the Hopf-Cole transformation n ε (t, x) = e uε(t,x) ε

, we can write the corresponding problem on u ε :

     ∂ t u ε -ε∆u ε = |∇u ε | 2 + R(x, e(t), I ε (t)), x ∈ R d , t > 0, I ε (t) = R d ψ(x)n ε (t, x)dx , u ε (t = 0) = ε ln n 0 ε . (6)
In the past years, several articles have treated the evolutionary dynamics of populations in time-varying environments. In [LCDH15, ABF + 19], the authors study closely related selectionmutation models with time varying environments, but considering particular forms of growth rates. They prove that semi-explicit solutions or explicit solutions exist for this type of problems. In [ABF + 19] the variation of the environment results indeed from a time dependent administration of cancer drugs. In this work, the authors also seek for numerical optimal controls corresponding to the most efficient drug delivery schedules. In [START_REF] Mirrahimi | Time fluctuations in a population model of adaptive dynamics[END_REF], a similar model with the same scaling as in (2) has been studied but considering an environment which oscillates in time with a rescaled period 1/ε, which means that in the original time scale the period of the oscillations is of order 1. The Hamilton-Jacobi limit is then rigorously justified, where the limiting growth rate in the concave case derives from a homogenization process. In the long-time asymptotics, the dominant trait maximizes this homogenized growth rate. In [START_REF] Figueroa Iglesias | Long time evolutionary dynamics of phenotypically structured populations in time-periodic environments[END_REF], the authors first study the long time asymptotic of the selection-mutation problem in a time-periodic environment, before studying the small mutations scaling. In this framework, the solutions converge towards a Dirac mass while the population size varies periodically in time. The limiting problem then describes the adaptation of the trait to the averaged environment over a period of fluctuations. In a very recent article [CN] the authors study a selection-mutation model with a time periodic environment and they investigate the impact of the different parameters of the model on the final population size. In another recent article [FIM] a similar selection-mutation model has been studied where the optimal trait varies with a linear trend but in an oscillatory manner. Using the Hamilton-Jacobi approach it is then proved that the population concentrates around a dominant trait which follows the variation of the optimal trait with the same speed but with a constant lag.

In our work, we follow the approach of [START_REF] Mirrahimi | Time fluctuations in a population model of adaptive dynamics[END_REF] and consider the rescaled evolution problem. However, in our scaling the environment varies at a slower pace than time, so that we no longer face a homogeneization problem, and the population adapts to instantaneous environmental variations. This work therefore provides a new perspective in the study of evolutionary dynamics in time-fluctuating environments.

Assumptions

We first give the general set of assumptions that we consider. In these assumptions, the main novelty is that R is neither concave nor bounded (Assumption (H4)). We also consider a weaker regularity assumption on R (Assumption (H6)), comparing to the works in [START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF][START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF]. Finally, we do not assume anything on the viability of the population at initial time.

General assumptions

Assumptions on ψ and R: there exist strictly positive constants ψ m , ψ M such that

0 < ψ m < ψ < ψ M < +∞, ψ ∈ W 2,∞ (R d ).
(H1)

We also assume that there exists

I M > 0 such that max x∈R d R(x, I M ) = 0 , (H2)
so that the population size can not grow too much. There also exist strictly positive constants K i describing the negative effect of competition on reproduction. We have

∀x ∈ R d , I ∈ R + , -K 1 ≤ ∂R ∂I (x, I) ≤ -K -1 1 < 0, (H3)
-K 2 -K 3 |x| 2 ≤ R(x, I) ≤ K 0 ∀0 ≤ I ≤ 2I M , (H4)
∆(ψR) ≥ -K 3 ∀x ∈ R d , I ∈ [0, 2I M ] , (H5)
and furthermore,

∀0 ≤ I ≤ 2I M , R(•, I) ∈ W 2,∞ loc (R d ) . ( H6
)
The three previous assumptions are more general than the ones used in previous works [START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF][START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF]. In those works R was assumed to be either concave or bounded. Finally, we assume that the space of traits having a positive growth rate in the absence of competition is compact:

{x ∈ R d , R(x, 0) ≥ 0} is compact in R d . ( H7
)
Assumptions on the initial condition: there exists I m such that

0 < I m ≤ I ε (0) ≤ I M , (H8)
and there exist strictly positive constants A i , B i > 0, with i ∈ {1, 2}, such that

n 0 ε (x) = e u 0 ε (x) ε , with -A 1 -B 1 |x| 2 ≤ u 0 ε (x) ≤ A 2 -B 2 |x| . ( H9
)
Note that the right-hand side is meant to control the initial population density when |x| is large. The left-hand side inequality may be relaxed (see Remark 1.2). Finally, we assume that (u 0 ε ) ε is a sequence of locally uniformly Lipschitz functions converging locally uniformly to u 0 . (H10)

Assumptions in a concave setting

We also give a convergence result in a concave setting, that provides enough regularity to fully characterize the dynamics. This framework relies on the uniform concavity of u 0 ε as well as on the concavity of R. In particular, it is possible under additional assumptions to derive the so-called canonical equation that describes the dynamics of the unique concentration point of the population over time.

Assumptions on ψ and R: we assume that ψ is smooth and strictly positive ; R is smooth and satisfies (H2) and (H3). Assumption (H4) is refined to: there exist positive constants such that

-K 2 -K 3 |x| 2 ≤ R(x, I) ≤ K 0 -K 1 |x| 2 for 0 ≤ I ≤ 2I M . (H11)
Moreover, we assume that

-2K 2 ≤ D 2 R(x, I) ≤ -2K 2 < 0 , (H12)
and

∂ 2 R ∂I∂x i (x, I) + ∂ 3 R ∂I∂x i ∂x j (x, I) ≤ K 3 . ( H13
)
Assumptions on the initial condition: u 0 ε is strictly uniformly concave: for some positive constants,

-L 0 -L 1 |x| 2 ≤ u 0 ε (x) ≤ L 0 -L 1 |x| 2 , -2L 1 ≤ D 2 u 0 ε ≤ -2L 1 . (H14)
We also have that (I 0 ε ) ε converges to I 0 with

0 < I m ≤ I 0 ≤ I M . ( H15
)
Assumptions for the canonical equation: we also assume that

D 3 R(•, I) L ∞ (R d ) ≤ K 4 (H16)
and

D 3 u 0 ε (•) L ∞ (R d ) ≤ L 2 . (H17)

Main results and plan of the paper

We first prove the local uniform convergence (up to a subsequence) of (u ε ) ε towards a continuous function u, and the weak convergence in the sense of measures of (n ε ) ε . Assuming convergence of (I ε ) ε , we are also able to identify this limit as the viscosity solution of a Hamilton-Jacobi equation that may carry a constraint depending on the limiting function I. First, let

Γ t := {x ∈ R d , u(t, x) = 0} (7)
be the set of zeros of the limiting function u.

Theorem 1.1. Under Assumptions (H1)-(H9), (i) after extraction of a subsequence, (u ε ) ε converges locally uniformly to a function u ∈ C((0, ∞) × R d ) with u ≤ 0. Moreover, up to a subsequence, (n ε ) ε converges weakly in the sense of measures towards n

∈ L ∞ (R + ; M 1 (R d )), with M 1 (R d ) the space of Radon measures in R d . Finally, a.e in t, Supp n(t, •) ⊂ Γ t . (ii) Moreover, if we assume additionally (H10), then u ∈ C([0, ∞) × R d ) and u(0, x) = u 0 (x).
(iii) If (I ε ) ε converges to I a.e. on some time interval [0, T ) with T ∈ (0, +∞], then u is a viscosity solution of the following Hamilton-Jacobi equation on [0, T ) × R d :

∂ t u = |∇u| 2 + R(x, I(t)) . ( 8
)
While I is lower bounded by a strictly positive constant, for a.e t ∈ [0, T ), Equation (8) is complemented with the constraint

max x∈R d u(t, x) = 0 , (9)
and for any Lebesgue continuity point of I, we have that

Γ t ⊆ {x ∈ R d , R(x, I(t)) = 0} .
Remark 1.2. Assuming (H4), the lower bound on u 0 ε in (H9) may be relaxed to:

∃x 0 ∈ R d , L 0 , M 0 > 0 such that ∀x ∈ B L 0 (x 0 ), u 0 ε (x) ≥ -M 0 . ( 10
)
Then thanks to the fundamental solution of the operator ∂ t n -σ∆n + K 3 x 2 n , for all t 1 > 0, there exist positive constants D i , i ∈ {1, 2, 3}, such that for ε ≤ 1,

u ε (t, x) ≥ -D 1 |x| 2 -D 2 -D 3 t for (t, x) ∈ (t 1 , +∞) × R d . (11)
See [START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF] where a similar result is proved in the case where R is bounded. See also [START_REF] Alfaro | Replicator-mutator equations with quadratic fitness[END_REF] for the study of a closely related model with quadratic growth rate.

Theorem 1.1 shows that it is necessary to understand the asymptotic behaviour of (I ε ) ε . Our main result is the following theorem, that uses the convergence of (u ε ) ε and the one of (n ε ) ε , both obtained up to a subsequence, to provide conditions at initial time for the asymptotic extinction or persistence of the population.

Theorem 1.3. Assume (H1)-(H9), and that (n 0 ε ) ε converges weakly in the sense of measures to

n 0 . i) If Supp n 0 ∩ {x ∈ R d , R(x, 0) > 0} = ∅ , (12)
then for every T > 0, there exists I(T ) > 0 and ε(T ) > 0 such that

I ε (t) ≥ I(T ) > 0, ∀t ∈ [0, T ), ∀ε ≤ ε(T ) , (13)
and (I ε ) ε converges up to a subsequence a.e in t ∈ R + towards a BV function I.

Assume additionally (H10).

ii

) If ∃C > 0 such that Γ 0 ⊆ {x ∈ R d , R(x, 0) ≤ -C} , (14)
then there exists a finite and positive constant 0 < T 0 < +∞, such that

lim ε→0 I ε (t)| (0,T 0 ) = 0. iii) If Γ 0 ⊆ {x ∈ R d , R(x, 0) ≤ 0} , ( 15
)
then ∀δ > 0, ∃ε δ > 0, ∀ε < ε δ , ∃t ε ∈ [0, T ], such that I ε (t ε ) < δ.
Note that these conditions are based on the viability of the traits initially present in the population, and not on the growth rate of the individuals at initial time, since we look at R(•, 0) rather than at R(•, I ε (0)). Numerical simulations in Section 5 will illustrate these situations.

The first assertion corresponds to the situation where at least a part of the initial population is viable for some strictly positive competition level. In this case we can ensure that the population size stays uniformly strictly positive, and the previously developped tools apply to prove the convergence. We emphasize that the population size may initially decrease for ε small, so that the competition also decreases, up until the growth rate reaches positive values for some traits in the population (see Figure 1 (1b,1c,1d)).

The two other assertions concern the case of a population where all individuals have a negative growth rate for any strictly positive competition level. In this case, we show that at the limit, the population size reaches zero, either punctually or during a time interval.

Remark 1.4. If Γ 0 ⊆ {x ∈ R d , R(x, 0) = 0}
, then the dynamics can not be identified: depending on the shape of R, both extinction or persistence can occur (see Figure 2). Remark 1.5. Note that in the condition for asymptotic persistence in i) the set Supp n 0 is involved, which is a smaller set than Γ 0 , which is the one involved in the condition for asymptotic extinction in ii), iii). Therefore, one situation is not described, namely when

Supp n 0 ⊆ {x ∈ R d , R(x, 0) ≤ 0} and Γ 0 ∩ {x ∈ R d , R(x, 0) > 0} = ∅ .
We illustrate this situation numerically in Section 5 (see Figure 3).

We can now combine the theorems 1.1 and 1.3 to determine the limits of (I ε , u ε ) and the phenotypic density n ε : Corollary 1.6. Assume (H1)-(H10) and that (n 0 ε ) ε converges weakly in the sense of measures to n 0 . Then, (i) under condition (12), the whole sequence (u ε , I ε ) converges, as ε → 0, to (u, I) with I a locally BV function which is non-decreasing in R + and u a continuous function. The limit

(u, I) ∈ C([0, ∞) × R d ) × BV loc ([0, ∞)) is uniquely determined by the following Hamilton-Jacobi equation with constraint      ∂ t u = |∇u| 2 + R(x, I(t)), max x∈R d u(t, x) = 0 , u(0, x) = u 0 (x). (16)
Moreover n, a weak limit of (n ε ) ε along subsequences, satisfies

supp n ⊆ Γ t ⊆ {x ∈ R d , R(x, I(t)) = 0}. (17)
(ii) under condition (14), in a certain interval [0, t], I ε → 0 and hence n ε tends also to 0 in L ∞ ([0, t]; L 1 (R d )) and a.e.. Moreover, (u ε ) ε converges locally uniformly in [0, t] × R d to u -, the unique viscosity solution to

∂ t u -= |∇u -| 2 + R(x, 0), (t, x) ∈ [0, t] × R d u -(0, x) = u 0 (x). (18)
The above corollary is a consequence of the theorems 1.1 and 1.3 and the fact that the problem (16) has a unique solution (u, I) in the class of Lipschitz continuous functions for u and locally BV functions for I (see [START_REF] Mirrahimi | A class of Hamilton-Jacobi equations with constraint: Uniqueness and constructive approach[END_REF][START_REF] Calvez | Uniqueness of the viscosity solution of a constrained hamilton-jacobi equation[END_REF]). Moreover, such function I is non-decreasing [START_REF] Calvez | Uniqueness of the viscosity solution of a constrained hamilton-jacobi equation[END_REF]. Note also that the Hamilton-Jacobi equation (18) has a unique viscosity solution u - (see [START_REF] Barles | Solutions de viscosité des équations de Hamilton-Jacobi[END_REF]).

Remark 1.7. One could wonder whether under condition (14) the convergence of I ε to 0 holds for all t ∈ [0, ∞). We expect indeed that such property holds only in a finite interval of time [0, T ], with T < ∞ the maximal time such that statement (ii) in corollary 1.6 holds. We expect also that max x u -(t, x) < 0 in [0, T ). At time T some viable traits appear in the population, that is the set of maximum points of u -(T , •) reaches the zone of viable traits that is the domain where R(•, 0) takes positive values. There would indeed exist x * ∈ R d such that u -(T , x * ) = max x u -(T , x) and that R(x * , 0) = 0. Consequently I ε begins to grow. After time T , (I ε ) ε tends to a positive function I and (u ε ) ε converges locally uniformly to u + , the unique viscosity solution to

     ∂ t u + = |∇u + | 2 + R(x, I(t)), (t, x) ∈ (T , ∞) × R d , max x∈R d u + (t, x) = 0 , u + (T , x) = u -(T , x).
This means that, when the effect of mutations ε is small but nonzero, even if initially the population is maladapted and non-viable, while the population size drops drastically, still a very small population evolves gradually towards better traits and after some time the population becomes viable and may grow again. This is because in this deterministic model and for ε > 0 the support of the solution is always the whole domain. We prove such property in a concave framework in Theorem 1.8. Moreover, we illustrate the second situation in Figure 1 in Section 5.

Finally, we give additional results in a concave setting that was first studied in [START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF] in the case where the population persists at the limit. It was proved that if R is concave and (u 0 ε ) ε is uniformly strictly concave, then u is strictly concave. This property provides enough regularity to better understand the dynamics at play. In particular in this case, u(t, •) has a unique maximum point, that is there exists

x(t) ∈ R d such that Γ t = {x(t)}, with x(0) := x 0 ∈ R d the unique maximum point of u 0 . As a consequence, Supp n(t, •) = {x(t)}
which means that n is a Dirac mass concentrated on the dominant trait x(t). The time evolution of x can be described by the so-called canonical equation. We combine these results with Theorem 1.3 to extend the study to situations where the initial population is not necessarily viable, and provide an estimate of the maximal duration of extinction, after which the population grows again.

Theorem 1.8. Assume (H1)-(H3), (H10) together with (H11)-(H15).

i) After extraction of a subsequence, (u ε ) ε converges locally uniformly to a nonpositive and strictly concave function

u ∈ L ∞ loc (R + ; W 2,∞ loc (R d )) ∩ W 1,∞ loc (R + ; L ∞ loc (R d )). Consequently, u(t, •) has a unique maximum point x(t) . ii) If Γ 0 ⊆ {R(•, 0) > 0}, then (I ε ) ε converges to I ∈ W 1,∞ (R + ), with I > 0. Moreover, (u, I)
is the unique viscosity solution of (8)-( 9), combined with u(0, •) = u 0 , which is indeed a classical solution. Furthermore, weakly in the sense of measures, for

(t, x) ∈ [0, T ] × R d , n ε (t, x) ε→0 ρ(t)δ(x -x(t))
with ρ(t) := I(t) ψ(x(t)) , where I is implicitly defined by R(x(t), I(t)) = 0 .

Finally, assuming additionally (H16)-(H17), we have that x ∈ W 1,∞ (R + ; R d ) and satisfies the canonical equation

• x(t) = (-D 2 u(t, x(t))) -1 • ∇ x R(x(t), I(t)) , x(0) = x 0 . (19) iii) If Γ 0 ⊆ {R(•, 0) < 0}, then on (0, T ), with T := sup{t > 0, R(x(t), 0) < 0}, (I ε ) ε converges
to 0 and u is the unique viscosity solution of

∂ t u(t, x) = |∇u(t, x)| 2 + R(x, 0) x ∈ R d , t ∈ (0, T ), u(0, x) = u 0 (x) , (20)
which is indeed a classical solution. Moreover, R(x(T ), 0) = 0, and assuming additionally (H16)-(H17), we have that x ∈ W 1,∞ ([0, T ); R d ) and satisfies the canonical equation

• x(t) = (-D 2 u(t, x(t))) -1 • ∇ x R(x(t), 0) ∀t ∈ (0, T ), x(0) = x 0 . (21)
The function h : t → R(x(t), 0) is increasing on (0, T ) and for some constants A 1 , A 2 > 0 related to the concavity assumptions on R and u 0 ε , one has the following bounds

A 1 -R(x(0), 0) |∇ x R(x(0), 0)| 2 ≤ T ≤ A 2 -R(x(0), 0) |∇ x R(x(T ), 0)| 2 .
Note that the final assertion states that x(•) reaches at a finite time T the zone of viable traits, that is the domain where R(•, 0) takes positive values. We expect indeed that for t ≥ T , (I ε (t)) ε converges to I(t) > 0 (see Remark 1.7 and Figure 1).

We now apply Theorem 1.3 and Theorem 1.8 to the asymptotic study of (6) for the evolution of a population in a temporally piecewise constant concave environment. More precisely, we focus on the case where the growth rate in (5) is defined by

R(x, e(t), I ε (t)) = R 1 (x, I ε (t))1 [0,T 1 ) + R 2 (x, I ε (t))1 [T 1 ,T 2 ) ,
for some T 1 , T 2 > 0, and R 1 , R 2 smooth and concave. In this situation, we can naturally define u ε (T 1 , x) and I ε (T 1 ) by

u ε (T 1 , x) := lim t→T - 1 u ε (t, x) , I ε (T 1 ) := lim t→T - 1 I ε (t) .
The following result follows from Theorem 1.8 (and Remark 1.4) to deal with the discontinuity at time T 1 and determine the asymptotic fate of the population in the new environment.

Corollary 1.9. Assume that R i , i ∈ {1, 2}, satisfy (H2)-(H3) together with (H11)-(H13), and that the initial condition verifies (H14)-(H15). Assume additionally that (n 0 ε ) ε converges weakly in the sense of measures to n 0 , with n 0 satisfying (12). Then in [0, T 2 ), (u ε ) ε converges towards a continuous function u, and (n ε ) ε converges weakly in the sense of measures towards n, such that i) on [0, T 1 ), (I ε ) ε converges to I > 0 with

(u, I) ∈ L ∞ loc ([0, T 1 ); W 2,∞ loc (R d )) ∩ W 1,∞ loc ([0, T 1 ); L ∞ loc (R d )) × W 1,∞ ([0, T 1 ))
where u is strictly concave and is the solution of the constrained Hamilton-Jacobi equation (8) associated with the growth rate R 1 , I is defined implicitly by R(x(t), I(t)) = 0, and one has n(t, x) = ρ(t)δ (x-x(t)) with ρ(t) = I(t) ψ(x(t)) . Moreover, assuming additionally that R 1 and (u 0 ε ) ε satisfy Assumptions (H16)-(H17), we have that x ∈ W 1,∞ ([0, T 1 ); R d ) and satisfies the canonical equation (19) in (0, T 1 ) starting from x(0).

ii) If R 2 (x(T 1 ), 0) ≤ 0, then there is asymptotic extinction of the population, either at a single time point or on a time interval.

iii

) If R 2 (x(T 1 ), 0) > 0, then (I ε ) ε converges towards I > 0 on [T 1 , T 2 ) and u is strictly concave with (u, I) ∈ L ∞ loc ([T 1 , T 2 ); W 2,∞ loc (R d )) ∩ W 1,∞ loc ((T 1 , T 2 ); L ∞ loc (R d )) × W 1,∞ ((T 1 , T 2 )) . Moreover, if R 2 and u ε (T 1 , x) verify (H16)-(H17), then x ∈ W 1,∞ ((T 1 , T 2 ); R d ) and satis- fies the canonical equation (19) in (T 1 , T 2 ) starting from x(T 1 ).
We illustrate numerically this situation in Section 5. The plan of the paper is as follows. In Section 2, we prove Theorem 1.1 that shows the convergence up to a subsequence of (u ε ) ε and (n ε ) ε . In Section 3, we prove Theorem 1.3, the main contribution of the paper, that gives criteria for the asymptotic fate of the population. The proof of Theorem 1.8 is given in Section 4, and mainly focuses on the description of the situation of extinction. Finally, in Section 5, we perform numerical simulations of the model, for time-homogenous and piecewise constant environments.

Proof of Theorem 1.1

In this section, we give the proof of Theorem 1.1 on the convergence up to a subsequence of (u ε ) ε and (n ε ) ε . In the following, we detail important bounds and regularity results that allow to pass to the limit and whose proofs differ from previous works due to our weaker assumptions. The proofs of the convergence of (u ε ) ε and (n ε ) ε , and of the identification of the limiting problem follow classical steps and are detailed in Appendix B.

Preliminary estimates

We first establish estimates on I ε and ρ ε .

Proposition 2.1. Assume (H1)-(H6), and that 0 ≤ I ε (0

) ≤ I M + Cε 2 . Then, ∃ε 0 > 0 such that ∀ε < ε 0 , ∀t ∈ R + , 0 ≤ I ε (t) ≤ 2I M . (22)
Moreover, the solution n ε is nonnegative for all time and there exists

ρ M > 0 such that ∀ε < ε 0 , ∀t ∈ R + , 0 ≤ ρ ε (t) = R d n ε (t, x)dx ≤ ρ M . (23)
The proof derives from [BMP09], Theorem 2.1.

Regularity of (u ε ) ε

We prove now a regularity result for u ε . For T > 0, let us define D(T ) = A 2 + (B 2 2 + K 0 )T , and the additional sequence

(v ε ) ε := 2D(T ) 2 -u ε ε .
Proposition 2.2. Assume (H1)-(H9). Then, i) the sequences (u ε ) ε as well as (v ε ) ε are locally uniformly bounded: there exist positive constants F i , i ∈ {1, ..., 4}, such that for

(t, x) ∈ [0, T ] × R d , -A 1 -F 1 t -F 2 |x| 2 ≤ u ε (t, x) ≤ A 2 +F 3 t -F 4 |x| . ( 24
)
Moreover, v ε is well-defined and it satisfies, for

(t, x) ∈ [0, T ] × R d , D(T ) ≤ v ε (t, x) ≤ C|x| + B(T ), (25)
with B and C positive constants.

ii) for all t 0 > 0, (u ε ) ε is locally equicontinuous in time and

(v ε ) ε is locally uniformly Lipschitz on [t 0 , T ] × R d . In particular, for any L > 1 and (t, x) ∈ [t 0 , T ] × B L (0), |∇v ε | ≤ C(T, L) 1 + 1 √ t 0 . ( 26
) iii) if (∇u 0 ε ) ε is locally uniformly bounded, then (u ε ) ε is locally equicontinuous in time and (v ε ) ε is locally uniformly Lipschitz on [0, T ] × R d . In particular, for any L > 1, there exists a(L) ≤ 1 such that for any (t, x) ∈ [0, T ] × B L (0), |∇v ε |(t, x) ≤ C(T, L) 1 + 1 t + a(L) .
Proof. The proof follows arguments used in [START_REF] Barles | Concentration in Lotka-Volterra Parabolic or Integral Equations: A General Convergence Result[END_REF], see also [START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF][START_REF] Figueroa Iglesias | Long time evolutionary dynamics of phenotypically structured populations in time-periodic environments[END_REF]. The novelty here lies in the weaker assumptions on R, that is neither bounded nor concave. As a consequence, the Lipschitz bounds are more difficult to obtain. We detail here the proof of these bounds, while the rest of the proof is postponed to Appendix A.

Regularizing effect in space. Neglecting the subscript ε here for the simplification of nota-

tions, denote v = 2D(T ) 2 -u, that satisfies on [0, T ] × R d ∂ t v -ε∆v -ε 1 v -2v |∇v| 2 = - R(x, I) 2v . ( 27
)
Write p = ∇v. Differentiating (27) with respect to x, multiplying by p |p| , we obtain that

∂ t |p| -ε∆|p| -2 ε 1 v -2v p • ∇|p| + ε 1 v 2 + 2 |p| 3 - 1 2v 2 R(x, I)|p| + 1 2v ∇ x R • p |p| ≤ 0 . (28)
Now, we use Assumption (H6) to obtain a local lower-bound on ∇ x R: for any L > 0, there exists K L > 0 such that for any

0 ≤ I ≤ 2I M , ∇ x R(•, I) L ∞ (B L (0)) ≤ K L . We deduce thanks to (25) that, on [0, T ] × B L (0), 1 2v ∇ x R • p |p| ≥ - K L 2v > - K L 2D(T )
.

Moreover, thanks to (H4) and to (25), we have that

- 1 2v 2 R|p| > - K 0 2v 2 |p| > - K 0 2D(T ) 2 |p|.
As a consequence, for some constants A 3 > 0, D 1 (T ) > 0, using the bounds (25) on v ε , and for θ(T, L) large enough, we have that

∀(t, x) ∈ [0, T ] × B L (0), ∂ t |p| -ε∆|p| -[A 3 |x| + D 1 (T )] ||p| • ∇|p|| + 2(|p| -θ(T, L)) 3 ≤ 0. ( 29
)
We are now going to find a strict supersolution for Equation (29) to obtain an upper-bound for |v ε | on [0, T ] × B L (0). For A 4 > 0 to be determined later, and

(t, x) ∈ (0, T ] × B L (0), define z(t, x) = 1 2 √ t + A 4 L 2 (L 2 -|x| 2 ) + θ(T, L).
We prove that for A 4 large enough, z is a strict supersolution of (29) in (0, T ] × B L (0). Indeed, we compute

∂ t z -ε∆z -[A 3 |x| + D 1 (T )]z∇z + 2(z -θ(T, L)) 3 = - 1 4t √ t -ε 2A 4 L 2 d (L 2 -|x| 2 ) 2 + 8A 4 L 2 |x| 2 (L 2 -|x| 2 ) 3 -[A 3 |x| + D 1 (T )] 1 2 √ t + A 4 L 2 L 2 -|x| 2 + θ(T, L) 2A 4 L 2 x (L 2 -|x| 2 ) 2 + 2 1 2 √ t + A 4 L 2 L 2 -|x| 2 3 ≥ -ε 2A 4 L 2 d (L 2 -|x| 2 ) 2 + 8A 4 L 4 (L 2 -|x| 2 ) 3 -[A 3 L + D 1 (T )] 1 2 √ t + A 4 L 2 L 2 -|x| 2 + θ(T, L) 2A 4 L 3 (L 2 -|x| 2 ) 2 + 3 √ t A 2 4 L 4 (L 2 -|x| 2 ) 2 + 2 A 3 4 L 6 (L 2 -|x| 2 ) 3 ,
using that |x| ≤ L. It can be shown that for L > 1, ε ≤ 1 and A 4 = A 4 (T ) large enough, the right-hand side of the inequality is strictly positive, so that z is a strict supersolution of (29) in (0, T ] × B L (0) and for ε ≤ 1. We next prove that

|p(t, x)| ≤ z(t, x) in (0, T ] × B L (0) .
First, note that for |x| → L or t → 0, z(t, x) goes to infinity, so that |p(t, x)| -z(t, x) attains its maximum at an interior point of (0, T ] × B L (0). Define now t m ≤ T such that max

(t,x)∈(0,tm]×B L (0) {|p(t, x)| -z(t, x)} = 0. If such t m does not exist, then the result is proved. Otherwise, take x m such that ∀(t, x) ∈ (0, t m ) × B L (0), |p(t, x)| -z(t, x) ≤ |p(t m , x m )| -z(t m , x m ) = 0.
Then, we have at this point that

∂ t (|p(t m , x m )| -z(t m , x m )) ≥ 0, -∆(|p(t m , x m )| -z(t m , x m )) ≥ 0, |p(t m , x m )|∇|p(t m , x m )| = z(t m , x m )∇z(t m , x m ).
As a consequence, since |p| (resp. z) is a subsolution (resp. strict supersolution) of (29), we obtain from this that

2(|p(t m , x m )| -θ(T, L)) 3 -2(z(t m , x m ) -θ(T, L)) 3 < 0 ,
and we deduce that

|p(t m , x m )| < z(t m , x m ) ,
in contradiction with the definition of (t m , x m ). Therefore, in (0, T ] × B L (0), for L > 1, we have that

|p(t, x)| ≤ z(t, x) = 1 2 √ t + A 4 (T )L 2 (L 2 -|x| 2 ) + θ(T, L).
Finally, we deduce that, on

(t 0 , T ] × B L 2 (0), |p(t, x)| ≤ C(T, L) 1 + 1 √ t 0 .
Additional assumption on the initial condition. We consider now that (∇u 0 ε ) ε is locally uniformly bounded such that for any L > 1, there exists a(L) small enough such that

|∇u 0 ε | ≤ 1 2 a(L) , in B L (0).
For A 5 > 0 a large constant, define

z(t, x) = 1 2 t + a(L) + A 5 L 2 (L 2 -|x| 2 ) + θ(T, L).
We can prove similarly to the previous proof that for A 5 large enough, z is a strict supersolution of (29) in [0, T ] × B L (0). Moreover, as |x| → L, z(t, x) goes to infinity and for all x ∈ B L (0), we have that |p(0, x)| ≤ z(0, x).

One can then follow similar arguments as in the previous part to show that, in

[0, T ] × B L (0), |p(t, x)| ≤ z(t, x),
and hence, in

[0, T ] × B L 2 (0), |p(t, x)| ≤ C(T, L) 1 + 1 t + a(L) , (30)
3 Proof of Theorem 1.3

In this part, we prove Theorem 1.3. We start by treating the asymptotic persistent case i). Then, we deal with the asymptotic extinction of the population on a time interval ii), before giving the proof in the case of the asymptotic extinction at a time point iii).

Asymptotic persistence

We prove now the first statement of Theorem 1.3. Take T < ∞, and consider Assumptions (H1)-(H9), as well as (12). First, we show that in this case, there exists a strictly positive uniform lower bound for (I ε ) ε . Then, we use this property to show that I ε has bounded variation, which leads to the convergence up to a subsequence of (I ε ) ε .

Strictly positive uniform lower bound on (I ε ) ε

In this section we aim at proving (13). We start by proving an inequality related to the time derivative of I ε (t). Let us remark that

d dt I ε (t) = ε ∆ψ(x)n ε (t, x)dx + J ε (t),
where

J ε (t) = 1 ε ψ(x)n ε (t, x)R(x, I ε (t))dx . ( 31
)
We now consider the evolution of the negative part of J ε , defined by (J ε (t)) -:= max(0, -J ε (t)).

Lemma 3.1. Under assumptions (H1)-(H9), there exist two positive constants G 1 and G 2 such that, for ε ≤ 1,

(J ε (0)) -≤ G 1 ε , ( 32
)
and d dt (J ε (t)) -≤ G 2 - K -1 1 ε I ε (t)(J ε (t)) -. (33)
Proof. We start by deriving (32). From (H4),(H8) and (H9), we have that

R(x, I ε (0)) ≥ -K 2 -K 3 |x| 2 , I ε (0) ≤ I M , and n ε (0, x) ≤ e A 2 -B 2 |x| ε .
For any positive constant M , we obtain

εJ ε (0) = {|x|<M } ψ(x)n ε (x, 0)R(x, I ε (0))dx + {|x|≥M } ψ(x)n ε (x, 0)R(x, I ε (0))dx , ≥ -I M (K 2 + K 3 M 2 ) -ψ M {|x|≥M } e A 2 -B 2 |x| ε (K 2 + K 3 |x| 2 )dx .
The second term of the right-hand-side is small for M > A 2 /B 2 and ε < 1 and we obtain (32).

To obtain (33), we compute the time derivative of J ε , to get

d dt J ε (t) = 1 ε 2 R d ψR 2 n ε dx ≥0 + R d ψR∆n ε dx + R d ∆ψn ε dx R d ψn ε ∂R ∂I dx + J ε (t) ε R d ψn ε ∂R ∂I dx. Now, we find that R d ψR∆n ε dx = R d ∆(ψR)n ε dx ≥ -K 3 ρ ε (t) ≥ -K 3 ρ M using (H5
) and Proposition 2.1. Moreover, from (H1) and (H3),

-K 1 I ε (t) ≤ R d ψn ε ∂R ∂I dx ≤ -K -1 1 I ε (t) and R d ∆ψn ε dx ≤ ρ ε (t) ∆ψ ∞ , so that Proposition 2.1 leads to R d ∆ψn ε dx R d ψn ε ∂R ∂I dx ≥ -K 1 ρ ε (t)I ε (t) ∆ψ ∞ ≥ -2K 1 ∆ψ ∞ I M ρ M .
Therefore, we obtain that

d dt J ε (t) ≥ -G + J ε (t) ε R d ψn ε ∂R ∂I dx for some G ≥ 0.
Finally, considering the negative part of J ε , and using (H3)-(H4) permit to conclude.

Let us now define for I ∈ (0, I M ),

Ω I := {x ∈ R d , R(x, I) > 0} , (34)
and for ε > 0 and t ∈ (0, T ),

Ω ε (t) := {x ∈ R d , R(x, I ε (t)) > 0} .
We first prove the following Lemma.

Lemma 3.2. Assume (H1)-(H9), and (12). Then, there exists ε 0 > 0, I 0 ∈ (0, I M ) and I * ∈ (0, I 0 ) such that for all ε < ε 0 ,

I ε (0) ≥ Ω I * ψ(x)n 0 ε (x)dx ≥ I 0 > 0 . ( 35
)
Proof. The left-hand-side inequality always holds true. We prove that the assertion is true for some I * and I 0 in (0, I M ). Consider x 0 ∈ Supp n 0 ∩ {x, R(x, 0) > 0} which is possible thanks to (12). Then, we deduce that R(x 0 , 0) > 0, and from (H3) that there exists

I * ∈ (0, I M ) such that R(x 0 , I * ) ≥ R(x 0 ,0) 2 > 0. As a consequence, Supp n 0 ∩ Ω I * = ∅ ,
and therefore

Ω I * n 0 (x)dx > 0.
Since ψ ≥ ψ m > 0, and (n 0 ε k ) k→+∞ converges weakly in the sense of measures towards n 0 , we obtain that for every ε small enough

Ω I * ψ(x)n 0 ε (x)dx ≥ ψ m 2 Ω I * n 0 (x)dx = I 0 > 0.
Finally, we know from Assumption (H3) that ∀I 1 < I 2 , we have Ω I 2 ⊂ Ω I 1 , leading to

Ω I 2 ψ(x)n 0 ε (x)dx < Ω I 1 ψ(x)n 0 ε (x)dx.
As a consequence, taking a smaller I * does not change the inequality, and we can assume I * < I 0 .

We now introduce two ε-dependent times that also depend on a small parameter δ < I * 2 that is fixed:

t ε = inf{t > 0, I ε (t) ≤ I * -δ} , (36)
s ε = inf{t > t ε , I ε (t) ≤ I * -2δ} . ( 37
)
Lemma 3.2 yields that these times are positive since I * < I 0 .

The proof of (13) in Theorem 1.3 i) is separated in different cases.

Case A: if s ε ≥ T for ε ≤ ε(T ), with ε(T ) a small positive constant, then by definition, ∀t ≤ T , ∀ε ≤ ε(T ), I ε (t) ≥ I * -2δ.

Case B: we fix 1 2 < β < 1 and we consider two subcases.

Case B1: if, up to a subsequence,

s ε < T and s ε -t ε ≥ ε β , (38)
then for all t ∈ (0, s ε ), I ε (t) > I * -2δ, and we deduce from Lemma 3.1 that for ε ≤ 1

d dt (J ε (t)) -≤ G 2 - K -1 1 (I * -2δ) ε (J ε (t)) -.
Let us denote G = K -1 1 (I * -2δ) and remark that since β < 1 and (32), we obtain from the Gronwall inequality that

(J ε (s ε )) -≤ (J ε (0)) -e -Gsε/ε + ε G 2 G ≤ Hε, (39)
where the last inequality holds for some H > 0 and ε ≤ 1. Now, let us show that I ε is bounded by below on (s ε , T ). For t ∈ [s ε , T ],

I ε (t) = I ε (s ε ) + ε t sε ∆ψ(x)n ε (x, u)dxdu + t sε J ε (u)du , ≥ I ε (s ε ) -ρ M ||∆ψ|| ∞ εT - t sε (J ε (u)) -du , ≥ I * -2δ 2 - t sε (J ε (u)) -du,
for ε small enough, using (H1). To conclude the proof it is sufficient to prove that t sε

(J ε (u)) -du < I * -2δ 4 .
We proceed by contradiction and assume that up to a subsequence, there exists T ε < T such that Tε sε

(J ε (u)) -du = I * -2δ 4 . Now using Lemma 3.1 again, ∀t ∈ [s ε , T ε ] d dt (J ε (t)) -≤ G 2 - K -1 1 I ε (t) ε (J ε (t)) -, ≤ G 2 - K -1 1 I * -2δ 2 - t sε (J ε (u)) -du ε (J ε (t)) -, ≤ G 2 - K -1 1 (I * -2δ) 4ε (J ε (t)) -.
As a consequence, ∀s ε ≤ t ≤ T ε ,

(J ε (t)) -≤ (J ε (s ε )) -- 4G 2 ε K -1 1 (I * -2δ) e - K -1 1 (I * -2δ) 4ε (t-sε) + 4G 2 ε K -1 1 (I * -2δ)
.

Using (39), we deduce that there exists a positive constant G such that ∀t ∈ [s ε , T ε ], 0 ≤ (J ε (t)) -≤ Gε. As a consequence, we have that

0 ≤ I * -2δ 4 = Tε sε (J ε (s)) -ds ≤ GεT
which leads to a contradiction as ε → 0. The result is then proved in this case.

Case B2: if, up to a subsequence,

s ε < T and s ε -t ε < ε β , (40)
then we first prove that at some ε-dependent time, the resource consumption of individuals having a positive growth rate is uniformly bounded from below (see Lemma 3.3). Next, we prove that this is sufficient to conclude. Recalling the definition of Ω I in (34), we introduce a family of test functions ϕ ε,I such that for a given C > 0 and 2(1

-β) < α < 1,      ϕ ε,I (x) = 1 ϕ ε,I (x) = 0 ϕ ε,I (x) ∈ (0, 1) for x ∈ Ω I+C ε α/2 for x ∈ Ω c I for x ∈ Ω I \ Ω I+C ε α/2 .
Moreover, we ask that ϕ ε,I -→ ε→0

1 Ω I and that

||D 2 ϕ ε,I || L ∞ (R d ) ≤ C ε α , (41)
for C > 0. Such a sequence of functions exists since using the assumptions on R, for any

x ∈ Ω I+C ε α/2 , then d(x, ∂Ω I ) ≥ Cε α/2 with C > 0.
Finally, we define

I ε,1 (t) = R d ψ(x)n ε (t, x)ϕ ε,Iε(t) (x)ds.
We start by proving the following lemma.

Lemma 3.3. Assume (H1)-(H9), ( 12) and (40), then there exists ε 1 (δ) > 0 and I 1 > 0 such that for a sequence (τ ε ) ε<ε 1 (δ) with τ ε ∈ (0, T ], we have

I ε,1 (τ ε ) ≥ I 1 ,
and

I ε ≥ I 1 on [0, τ ε ].
Proof. Let us introduce for t ∈ (0, T ),

I ε,2 (t) := R d ψ(x)n ε (t, x)(1 -ϕ ε,I * -2δ )dx ,
an approximation of the consumption rate at time t of individuals that would have a negative growth rate for a competition level of I * -2δ. We obtain the result depending on the situation at time t ε . a) First, assume that

I ε,2 (t ε ) < I * 8 .
In the following we prove that I ε,2 (s ε ) is still small and hence I ε,1 (s ε ) = I ε (s ε ) -I ε,2 (s ε ) is bounded from below by a positive constant. To prove that, we derive an estimate on I ε,2 for t ∈ (t ε , s ε ):

d dt I ε,2 (t) = ε R d ∆(ψ(1 -ϕ ε,I * -2δ ))n ε (t, x)dx + 1 ε R d ψn ε (1 -ϕ ε,I * -2δ )R(x, I ε (t))dx < C 1 ε 1-α + 1 ε R d ψn ε (1 -ϕ ε,I * -2δ )R(x, I ε (t))dx ,
where we used (H1), ( 22) and (41). Now, 1-ϕ ε,I * -2δ has its support in Ω c I * -2δ+C ε α/2 . Moreover, in [t ε , s ε ], we have that I ε (t) ≥ I * -2δ, so that (H3) yields

R(x, I ε (t)) ≤ R(x, I * -2δ) < R(x, I * -2δ + C ε α/2 ) + C ε α/2 K 1 < C K 1 ε α/2 , ∀x ∈ Ω c I * -2δ+C ε α/2 .
As a consequence, we obtain that

d dt I ε,2 (t) < C 1 ε 1-α + C 2 ε α/2-1 I ε,2 (t) .
The Gronwall Lemma yields that

I ε,2 (s ε ) ≤ I ε,2 (t ε )e C 2 ε α/2-1 (sε-tε) + C 1 ε 1-α C 2 ε α/2-1 e C 2 ε α/2-1 (sε-tε) -1 ≤ I * 8 e C 2 ε β+α/2-1 + C 1 ε 2-3α/2 C 2 e C 2 ε β+α/2-1 -1 ,
using the assumption on I ε,2 (t ε ) and (40). It follows that since β + α/2 > 1 by assumption on α, for ε small enough I ε,2 (s ε ) ≤ I * /4. Then,

I ε,1 (s ε ) = I ε (s ε ) -I ε,2 (s ε ) , ≥ I * -2δ - I * 4 > 0 ,
for δ small enough, leading to the result by setting τ ε = s ε .

b) In the other case, assume that

I ε,2 (t ε ) ≥ I * 8 .
We first evaluate an approximation of I ε,2 on (0, t ε ), that enables us to deduce that t ε is small. From this we will obtain that I ε,1 (t ε ) is bounded by below by a positive constant. For t ∈ (0, t ε ),

d dt I ε,2 (t) = ε R d ∆(ψ(1 -ϕ ε,I * -2δ ))n ε (t, x)dx + 1 ε R d ψn ε (1 -ϕ ε,I * -2δ )R(x, I ε (t))dx .
Using (H1), ( 22) and (41), we have that the first term in the right-hand-side is smaller than C 1 ε 1-α for some C 1 > 0. Moreover, note that 1 -ϕ ε,I * -2δ has its support in

Ω c I * -2δ+C ε α/2 ⊃ Ω c I * -δ since I * -δ > I * -2δ + C ε α/2
for ε small enough. It follows that, since for all t ∈ (0, t ε ),

I ε (t) > I * -δ, there exists C 2 > 0 such that R(x, I ε (t)) < -C 2 on Ω c I * -2δ+C ε α/2
. Note that the constant C 2 depends on δ. Using this information we obtain that

d dt I ε,2 (t) < C 1 ε 1-α - C 2 ε I ε,2 (t) ,
and the Gronwall Lemma combined with the estimate on I ε,2 (t ε ) yields

I * 8 ≤ I ε,2 (t ε ) ≤ I ε,2 (0)e -C 2 ε tε + C 1 C 2 ε 2-α 1 -e -C 2 ε tε ≤ I M e -C 2 ε tε + C 1 ε 2-α ,
where we have used (H8). It follows that necessarily, t ε ≤ Aε for some A > 0.

Let us now deduce a lower bound for I ε,1 (t ε ). We compute

d dt R d ψ(x)n ε (t, x)ϕ ε,I * -δ (x)dx = ε R d n ε ∆(ψϕ ε,I * -δ )dx + 1 ε R d ψn ε Rϕ ε,I * -δ dx .
Using ( 23) and ( 41), the first term on the right hand side is bounded from below by -C 3 ε 1-α for some C 3 > 0. Moreover, ϕ ε,I * -δ has its support in Ω I * -δ that is included in a compact by (H7), so that |R| < C 4 for some C 4 > 0. It follows that

d dt R d ψn ε ϕ ε,I * -δ dx ≥ -C 3 ε 1-α - C 4 ε R d ψn ε ϕ ε,I * -δ dx ,
and the Gronwall Lemma yields that

R d ψ(x)n ε (t ε , x)ϕ ε,I * -δ (x)dx ≥ R d ψ(x)n 0 ε (x)ϕ ε,I * -δ (x)dxe -C 4 ε tε - C 3 C 4 ε 2-α 1 -e -C 4 ε tε .
Now, we have that for ε small, I * -δ + C ε < I * and using the definition of ϕ ε,I * -δ and Lemma 3.2:

R d ψ(x)n 0 ε (x)ϕ ε,I * -δ (x)dx ≥ Ω I * -δ+C ε α/2 ψ(x)n 0 ε (x)dx , ≥ Ω I * ψ(x)n 0 ε (x)dx ≥ I 0 .
Finally, from t ε ≤ Aε, we obtain that

R d ψ(x)n ε (t ε , x)ϕ ε,I * -δ (x)dx ≥ I 0 e -C 4 A - C 3 C 4 ε > 0
for ε small enough, leading to I ε,1 (t ε ) > I > 0 for some I, and the result is proved by taking τ ε = t ε .

We have derived a positive uniform lower bound for I ε at some ε-dependent time interval. It remains to extend this result to obtain a uniform lower bound on the interval [0, T ]. Write E := ∆ψ ∞ ρ M and define

ν ε = inf{t ≥ τ ε , J ε (t) ≥ -(E + 1)ε} .
Then, either ν ε > T or ν ε ≤ T , and we prove now the result in each situation.

i) If ν ε > T , then for all t ∈ [τ ε , T ], J ε (t) < -(E + 1) ε, so that dI ε (t) dt = ε R d ∆ψ(x)n ε (t, x)dx + J ε (t) < -ε < 0 ,
so that I ε is strictly decreasing. From (H3), we deduce that for any

x ∈ R d , ∂ ∂t R(x, I ε (t)) = ∂ ∂I R(x, I ε (t)) × dI ε (t) dt > K -1 1 ε > 0 , so that for all t ∈ [τ ε , T ], R(x, I ε (t)) > R(x, I ε (τ ε )) + (t -τ ε )K -1 1 ε ≥ (t -τ ε )K -1 1 ε on Ω Iε(τε) .
Now, for t ∈ [τ ε , T ], let us introduce

I ε,3 (t) := R d ψn ε (t, x)ϕ ε,Iε(τε) dx .
In particular, note that I ε,3 (τ ε ) = I ε,1 (τ ε ). We compute

d dt I ε,3 (t) = ε R d ∆(ψϕ ε,Iε(τε) )n ε (t, x)dx + 1 ε R d ψϕ ε,Iε(τε) n ε (t, x)R(x, I ε (t))dx > -Cε 1-α + (t -τ ε )K -1 1 I ε,3 (t)
for some C > 0, using (H1), ( 22) and (41). We deduce that for t ∈ [τ ε , T ],

I ε,3 (t) ≥ I ε,3 (τ ε )e K 1 2 (t-τε) 2 -Ce K 1 (t-τε) 2 2 ε 1-α t τε e -K 1 (s-τε) 2 2 ds ≥ I ε,1 (τ ε ) -CT e K 1 T 2 2 ε 1-α ≥ I 1 -CT e K 1 T 2 ε 1-α > 0
for ε < ε 0 (T ) small enough. It follows that there exists I(T ) > 0 such that ∀t ∈ (0, T ),

I ε (t) ≥ I ε,3 (t) ≥ I(T ).
ii) If ν ε < T , we can use the previous argument to show that

∃ε 0 (T ) > 0, I(T ) > 0 such that ∀ε < ε 0 (T ), ∀t ∈ [τ ε , ν ε ), I ε (t) ≥ I(T ) .
Therefore, I ε (ν ε ) ≥ I(T ), and J ε (ν ε ) ≥ -(E + 1)ε. For ε < ε 1 (T ) small enough and t ∈ (ν ε , T ), we have that

I ε (t) = I ε (ν ε ) + t νε I ε (s)ds = I ε (ν ε ) + t νε J ε (s)ds + O(ε)(t -ν ε ) ≥ I(T ) 2 - t νε (J ε (s)) -ds, ( 42
)
and we obtain from (33) that

d dt (J ε (t)) -≤ G - K -1 1 ε I(T ) 2 - t νε (J ε (s)) -ds (J ε (t)) -.
Now, we want to show that under some conditions, ∀ε < ε 0 (T ), T νε (J ε (s)) -ds ≤ I(T ) 4 . Let us proceed by contradiction. Assume that this is not the case: there exists a sequence (ε k ) k in (0, ε 1 (T )) with lim k→+∞ ε k = 0, and ∀k, there is a first time T ε k < T such that

T ε k νε k (J ε k (s)) -ds = I(T ) 4 . Then we have ∀k ≥ 0, d dt (J ε k (t)) -≤ G - K -1 1 ε k I(T ) 4 (J ε k (t)) -∀ν ε k ≤ t ≤ T ε k . As a consequence, ∀k ≥ 0, ∀ν ε k ≤ t ≤ T ε k , (J ε k (t)) -≤ (J ε k (ν ε k )) -e - I(T ) 4K 1 ε k (t-νε k ) + 4GK 1 ε k I(T ) 1 -e - I(T ) 4K 1 ε k (t-νε k ) ,
or equivalently

(J ε k (t)) -≤ (J ε k (ν ε k )) -- 4GK 1 ε k I(T ) e - I(T ) 4K 1 ε k (t-νε k ) + 4GK 1 ε k I(T ) . Since (J ε k (ν ε k )) -≤ (E + 1)ε k , we deduce that there exists a positive constant G 1 such that ∀t ∈ [ν ε k , T ε k ], 0 ≤ (J ε k (t)) -≤ G 1 ε k . As a consequence, we have that 0 ≤ T ε k νε k (J ε k (s)) -ds = I(T ) 4 ≤ G 1 ε k T ,
which leads to a contradiction for k large enough. Therefore, for all ε < ε 1 (T ), we have T νε (J ε (s)) -ds ≤ I(T ) 4 , and from the estimate (42), we have that ∀ε < ε 1 (T ), for t ∈ (ν ε , T ),

I ε (t) ≥ I(T ) 4 ,
and the result is proved.

BV bound

We derive now a sub-Lipschitz bound as well as a BV bound on I ε that allow to pass to the limit after extraction of a subsequence, ending the proof of the first point of Theorem 1.3. Proposition 3.4. We assume (H1)-(H9) and that there exist I(T ) > 0 and ε 0 (T ) > 0 such that ∀ε < ε 0 , ∀t ∈ [0, T ], I ε (t) > I(T ). Then, for ε < ε 0 ≤ 1, and C 1 , G some positive constants, we have the sub-Lipschitz bound

dI ε dt (t) ≥ -ε C 1 ρ M + GK 1 I(T ) -(J ε (0)) -e - I(T ) K 1 ε t , (43)
and the BV bound

T 0 dI ε dt (t) dt ≤ A(T ) + K 1 I(T ) R d ψ(x)n ε (0, x)R(x, I ε (0))dx - , (44)
with

A(T ) = 2I M + T 2C 1 ρ M + GK 1 I(T )
. Moreover after extraction of a subsequence, (I ε (t)) ε converges a.e in R + when ε goes to zero to a function I such that ∀T > 0, there exists I(T ) > 0 such that I(t) ≥ I on [0, T ].

Proof. We adapt the proof of [START_REF] Barles | Dirac concentrations in Lotka-Volterra parabolic PDEs[END_REF]. We want to show that

T 0 dI ε dt (t)dt < C for some positive constant C. Writing dI ε dt (t) = dI ε dt (t) + + dI ε dt (t) - = dI ε dt (t) + 2 dI ε dt (t) - ,
we obtain that

T 0 dI ε dt (t) dt = I ε (T ) -I ε (0) + 2 T 0 dI ε dt (t) - dt . Now, on [0, T ], dI ε dt (t) = ε R d ∆ψ(x)n ε (t, x)dx + J ε (t) ≥ -C 1 ερ ε (t) -(J ε (t)) -, (45)
so that

dI ε dt (t) - ≤ C 1 ερ M + (J ε (t)) -.
Therefore, we have that

T 0 dI ε dt (t) dt ≤ I ε (T ) -I ε (0) + 2T C 1 ερ M + 2 T 0 (J ε (t)) -dt ,
and the uniform BV bound on I ε relies on a uniform bound for T 0 (J ε (t)) -dt. We use Lemma 3.1 together with the lower bound on I ε to get

d dt (J ε (t)) -≤ G - I(T ) εK 1 (J ε (t)) -,
leading to

(J ε (t)) -≤ ε GK 1 I(T ) + e - I(T ) K 1 ε t (J ε (0)) -.
This inequality combined with (45) give the sub-Lipschitz bound (43). Finally, we also obtain that

T 0 dI ε dt (t) dt ≤ I ε (T ) -I ε (0) + εT 2C 1 ρ M + 2GK 1 I(T ) + 2 K 1 ε I(T ) 1 -e - I(T ) K 1 ε T (J ε (0)) -, ≤ 2I M + Cε 2 + εT 2C 1 ρ M + 2 GK 1 I(T ) + 2 K 1 ε I(T ) 1 -e - I(T ) K 1 ε T (J ε (0)) -.
We deduce that, for ε small enough, (I ε (t)) ε is uniformly bounded in W 1,1 loc (R + ). Therefore, as ε → 0, (I ε (t)) ε converges along subsequences in L 1 (R + ) and a.e. in R + to a function I which is of bounded variation. This concludes the proof of Proposition 3.4, and of the first assertion of Theorem 1.3.

Asymptotic extinction on a time interval

We show now the second statement of Theorem 1.3. We recall the assumption (14) namely that ∃C > 0 such that

Γ 0 = {x ∈ R d , u(0, x) = 0} ⊆ {x ∈ R d , R(x, 0) ≤ -C} , Let us define for δ > 0, O δ := {x ∈ R d , u(0, x) ≥ -δ}
and recall that O 0 = Γ 0 since u ≤ 0 from Theorem 1.1 i). Using (24), O δ is bounded and from the local uniform continuity of u, for δ and a small enough, we have

O δ ⊂ A C/2 := {x ∈ R d , R(x, 0) ≤ -C/2} with dist(O δ , ∂A C/2 ) ≥ a > 0.
Moreover, by the uniform continuity in time of u, there exists T 0 > 0 so that

∀t ∈ [0, T 0 ), x ∈ R d , u(t, x) > - δ 2 ⊆ O δ .
Now, since ψ is positive and bounded by (H1), we write on [0, T 0 ),

I ε (t) ≤ ψ M O δ n ε (t, x)dx + ψ M (O δ ) c n ε (t, x)dx ,
and we prove that each term separately goes to 0, starting with the second term.

From Proposition 2.2 (i), there exist positive constants F i , i ∈ {1, ..., 4}, such that for

(t, x) ∈ [0, T ] × R d , ∀ε < ε 0 , -F 1 T -F 2 |x| 2 ≤ u ε (t, x) ≤ F 3 T -F 4 |x| .
Therefore there exist r 0 > 0 such that for all t ∈ [0, T 0 ] and |x| ≥ r 0 , u ε (t, x) ≤ -F 4 2 |x|. Now,

(O δ ) c n ε (t, x)dx = (O δ ) c ∩B(0,r 0 ) n ε (t, x)dx + (O δ ) c ∩B(0,r 0 ) c n ε (t, x)dx ≤ (O δ ) c ∩B(0,r 0 ) n ε (t, x)dx + (O δ ) c ∩B(0,r 0 ) c e -F 4 |x| 2ε dx . ( 46
)
Finally it remains to control the integral on (O δ ) c ∩ B(0, r 0 ). Remark that on (O δ ) c , for any t ∈ [0, T 0 ), u(t, •) ≤ -δ 2 < 0 and there exists ε 0 > 0 small enough so that ∀ε < ε 0 , on

(O δ ) c , u ε (t, •) ≤ -δ 4 .
We then deduce that

0 ≤ (O δ ) c ∩B(0,r 0 ) n ε (t, x)dx ≤ (O δ ) c ∩B(0,r 0 ) e -δ 4ε dx ≤ |B(0, r 0 )|e -δ 4ε .
Combining with ( 46), (O δ ) c n ε (t, x)dx goes to 0 as ε → 0 for every t ∈ [0, T 0 ).

We now consider

O δ n ε (t, x)dx on (0, T 0 ). Let ϕ ε ∈ C ∞ c,+ (A C/2 ) be a test function such that ϕ ε ≡ 1 in O δ , and such that D 2 ϕ ε ∞ < 1 ε . Such test function exists for small enough. Then, for t ∈ [0, T 0 ), 0 ≤ O δ n ε (t, x)dx ≤ R d ϕ ε (x)n ε (t, x)dx. Moreover, d dt R d ϕ ε (x)n ε (t, x)dx = ε R d ∆ϕ ε n ε (t, x)dx + 1 ε R d ϕ ε (x)n ε (t, x)R(x, I ε (t))dx , ≤ ε ∆ϕ ε ∞ ρ M + 1 ε R d ϕ ε (x)n ε (t, x)R(x, 0)dx, < ρ M - C 2ε R d ϕ ε (x)n ε (t, x)dx ,
using Assumption (H3). It follows that on (0, T 0 ) using Assumption (H8), we have

R d ϕ ε (x)n ε (t, x)dx < R d ϕ ε (x)n ε (0, x)dxe -C 2ε t + 2ρ M C ε 1 -e -C 2ε t , < C e -C 2ε t + ε → ε→0 0 ,
where C > 0. This concludes the proof of Theorem 1.3 ii).

Asymptotic extinction at a time point

We show now the last assertion of Theorem 1.3, namely that if

Γ 0 ⊆ {x ∈ R d , R(x, 0) ≤ 0} ,
then, for any T < +∞,

∀δ > 0, ∃ε δ > 0, ∀ε < ε δ , ∃t ε ∈ [0, T ], I ε (t ε ) < δ . ( 47
)
Recall that the space of possible concentration points of the population at the limit writes Γ t := {x ∈ R d , u(t, x) = 0}. We prove the result with a contradiction argument. If (47) is not true, then ∃T, δ > 0, ∃(ε k ) k → 0 such that ∀t ∈ [0, T ], I ε k (t) ≥ δ > 0. Then, following Proposition 3.4, (I ε k ) k converges on (0, T ) towards a function I : t → I(t) ≥ δ, and by Theorem 1.1, u is then a viscosity solution of the following constrained Hamilton-Jacobi problem:

       ∂ t u = |∇u| 2 + R(x, I(t)) , max x u(t, x) = 0 , Supp n(t, •) ⊂ Γ t ⊂ {R(•, I(t)) = 0} for all Lebesgue point of I .
Now, by assumption (H3),

∀x ∈ Γ 0 , R(x, δ) < R(x, 0) + sup ∂ I R(x, I)δ ≤ -K -1 1 δ < 0 .
By continuity of u, there exists η > 0 small enough so that

{u(0, •) > -2η} ⊂ R(•, δ) < - δ 2K 1 ,
and there exists t 1 > 0 small enough so that

∀t ∈ [0, t 1 ), {u(t, •) > -η} ⊂ {u(0, •) > -2η} .
Therefore, for t ∈ (0, t 1 ) and x ∈ Γ t , we have that

0 = R(x, I(t)) ≤ R(x, δ) < - δ 2K 1 < 0 ,
leading to a contradiction.

The concave case

In this part, we give the proofs of Theorem 1.8 as well as Corollary 1.9 that deal with a constant or piecewise constant concave environments.

4.1 Proof of Theorem 1.8 i) One can verify that Assumptions (H11)-(H15) imply (H4)-(H9). Therefore, one can use Theorem 1.1 which implies that (u ε ) ε converges locally uniformly to a function u ∈ C([0, ∞)×R d ) with u ≤ 0. Moreover, in [START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF] it is proved that under the assumptions of Theorem 1.8, the function u is indeed strictly concave and

u ∈ L ∞ loc (R + ; W 2,∞ loc (R d )) ∩ W 1,∞ loc (R + ; L ∞ loc (R d )). Con- sequently, u(t, •) has a unique maximum point x(t).
ii) Note first that Supp n 0 = Γ 0 since Γ 0 has a unique point. Therefore, if Γ 0 ⊆ {R(•, 0) > 0}, then (I ε ) ε converges to I ∈ W 1,∞ (R + ), with I > 0, thanks to Theorem 1.3-(i). Moreover, thanks to Theorem 1.1-(iii) u is a viscosity solution to (8)-( 9), together with u(0, •) = u 0 . In [START_REF] Mirrahimi | A class of Hamilton-Jacobi equations with constraint: Uniqueness and constructive approach[END_REF] it is proved that the viscosity solution (u, I) to such Hamilton-Jacobi equation is indeed unique and smooth. Moreover, under the assumptions of the theorem, the canonical equation ( 19) can be derived similarly to [START_REF] Lorz | Dirac mass dynamics in multidimensional nonlocal parabolic equations[END_REF].

iii) Since Γ 0 ⊆ {R(•, 0) < 0}, thanks to Theorem 1.3-(ii), there exists T 0 > 0 such that lim ε→0 I ε (t)| (0,T 0 ) = 0. We define T m to be the maximal point such that this property holds. It is immediate that T m ≥ T . Otherwise, one can extend T m to greater values thanks to Theorem 1.3-(ii). We expect indeed that T m = T . We next, deduce that ∀t ∈ (0, T ), lim ε→0 I ε (t) = 0. Equations ( 20) and (21) can then be derived similarly to (8) and ( 19).

Next, we study h defined by h(t) = R(x(t), 0). We compute

h (t) = ∇ x R(x(t), 0) • x(t) = ∇ x R(x(t), 0)(-D 2 u(t, x(t))) -1 ∇ x R(x(t), 0) ,
so that h is increasing while |∇ x R(x(t), 0)| = 0, and non-decreasing in the general case. As a consequence, since thanks to the assumptions (H2)-(H3) we have max x∈R d R(x, 0) > 0, we deduce that T < +∞. We provide some estimates for T . From [MR16] (Theorem 1.1), and using the estimates (H12) and (H14), we have that on

[0, T ] × R d , 0 < min(2L 1 , K 2 ) ≤ -D 2 u(t, x) ≤ max(2L 1 , K 2 ) .
Moreover, by the concavity assumption on R, we have that for t ∈ (0, T ),

|∇ x R(x(T ), 0)| 2 ≤ |∇ x R(x(t), 0)| 2 ≤ |∇ x R(x(0), 0)| 2 . It leads to 1 max(2L 1 , K 2 ) |∇ x R(x(T ), 0)| 2 ≤ h (t) ≤ 1 min(2L 1 , K 2 ) |∇ x R(x(0), 0)| 2 .
The result then follows from this estimate combined with the equality

T 0 h (t)dt = -h(0) .

Proof of Corollary 1.9

In this part, we prove Corollary 1.9 that describes the dynamics of the population when a switch in the environment occurs. First, the convergence of (u ε ) ε and the one of (n ε ) ε for t ∈ [0, T 1 ) follows from Theorem 1.8, that also yields point i) and that the u ε (T 1 , x) are uniformly strictly concave and verify Assumption (H14). By definition of u ε (T 1 , x) and I ε (T 1 ) and by continuity of u and I, we have that I(T 1 ) = lim t→T - 1 I(t) satisfies Assumption (H15), and that u(T 1 , x) = lim t→T 1 u(t, x) is well-defined and strictly concave. Therefore, the convergence of (u ε ) ε and of (n ε ) ε for t ∈ [T 1 , T 2 ) follows from Theorem 1.8. Moreover, Γ T 1 = {x(T 1 )}. As a consequence, point (ii) follows from Theorem 1.3, and iii) follows from Theorem 1.3 combined with Theorem 1.8.

Numerics and application to switching environments

In this part, we perform some numerical simulations of (2)-( 3) and (5) to illustrate the selection-mutation dynamics in temporally constant and piecewise constant environments. For that purpose, we use a finite difference scheme with an implicit time discretization scheme, at the exception of the nonlinear term I ε (t) that is treated explicitly. In all the section we choose ψ(x) = 1.

Constant environment

We begin with numerical simulations of the problem (2)-(3) that illustrate Theorem 1.3. We consider the growth rate given by R(x, I ε ) = a(x) -I ε , with a to define.

Asymptotic persistence and extinction on a time interval

We choose a as a quadratic function with a(x) = 0.25 -x 2 , (48) so that a is strictly positive in (-0.5, 0.5). We choose two expressions for the initial condition, in order to illustrate the two first cases of Theorem 1.3. They are given by (see Figure 1a)

n 0 ε (x) = I ε (0) c -b 1 [b,c] , I ε (0) = 0.2, (49)
Case 1: (b, c) = (-0.6, -0.4), Case 2: (b, c) = (-0.7, -0.6).

In the first situation, a part of the initial population is composed of individuals having a positive growth rate in the absence of competition. In this case we have asymptotic persistence of the population. One can see that n ε evolves towards the best trait x = 0 (see Figure 1b). For small times, the population size drops (see Figure 1d) as a result of the extinction of the part of the population that is not viable, but it does not reach zero as the population seems to be sustained thanks to larger trait values (see Figure 1c). In the second case, the initial population size vanishes near t = 0 and the population gets extinct asymptotically (see Figure 1e). After some time, the population grows again at some trait values having a nonnegative growth rate in the absence of competition (see Figure 1g). When the effect of the mutations ε is small but non-zero, indeed still a very small population persists and evolves gradually towards better traits and after some time the population becomes viable and may grow again. This observation is in line with Remark 1.7 and the initial time where the population starts to grow corresponds to T in Theorem 1.8, although here we are not in the concave framework of the theorem. Note also that the maximum of u ε is negative until the population starts to grow (see Figure 1f).

Asymptotic extinction: critical case

Figure 2 illustrates the third situation described in Theorem 1.3, occurring when Γ 0 ⊆ {R(•, 0) = 0}. For that purpose, we consider

R(x, 0) = a(x) = -x 2 (x -0.75)(x -2) . (51)
Moreover, we consider two initial conditions given by

n 0,1 ε (x) = I ε (0) √ 2πε e -x 2 2ε , n 0,2 ε (x) = I ε (0) √ 2πε e -(x-0.75) 2 2ε , I ε (0) = 0.2 . ( 52
)
Figure 2a shows the corresponding growth function as well as the two initial conditions that we consider. One can see in Figure 2 that the solutions behave differently. The solution issued from n 0,1 ε (Figures 2b-2c-2d) keeps a total population size that is close to zero during a whole time interval, before increasing again very fast from a population density concentrated at trait values having a positive growth rate. Figures 2e-2f-2g illustrate the situation when the initial population is concentrated near values that have a positive growth rate in the absence of competition. In that case, the population size first drops and gets close to zero, but then the mutations allow reaching better traits fast enough to rescue the population. This illustrates the critical situation where asymptotic extinction occurs punctually in time. Note however that here the population size does not reach zero since ε > 0. Case not treated by Theorem 1.3

Figure 3 illustrates the situation described in Remark 1.5 where Supp n 0 ⊆ {R(•, 0) ≤ 0} and Γ 0 ∩ {R(•, 0) > 0} = ∅. For that purpose, we consider again (48) and so that Γ 0 = {-0.75, 0} and Supp n 0 = {-0.75}, with R(0, 0) > 0 and R(-0.75, 0) ≤ 0. Therefore, Γ 0 meets a viable trait (x = 0), but the population size at this point vanishes as ε goes to zero (see Figure 3a). In this case, the individuals holding traits with negative growth rates die quickly which leads to a rapid drop of the population size to very small values. Afterwards, the population stabilizes around the best trait and grows again. On [0, T /2), the population concentrates on better traits relatively to the first environment. However, these traits have negative growth rates in the second environment. As a result, at switching time, the population is in a situation of asymptotic extinction. Then, we consider the case where the period of fluctuations is smaller (T = 0.2), for the same initial condition. In this situation, the period is small enough so that the population remains concentrated in traits which are viable in both environments. The population is therefore persistent, and n ε is periodic in time (see Figures 4d and4e). This illustrates how the fate of a population may be drastically affected by the timing of environmental fluctuations. Note indeed that in the case where the period of fluctuations is small and of order ε, it is proved in [START_REF] Figueroa Iglesias | Long time evolutionary dynamics of phenotypically structured populations in time-periodic environments[END_REF] that the population would get adapted to a homogenized environment. In this particular case, it means that when T takes small values the dominant trait would stay around the trait 0 which is the optimal trait for the average environment and maximizes the average growth rate r 1 (x)+r 2 (x) 2 . We can observe this tendency for T = 0.2 in Figure 4d.

n 0 ε (x) = 0.2 √ 2πε exp - (x + 0.75) 2 2ε + ε √ 2πε exp - x 2 2ε , (53)

Effect of the period of fluctuations on the mean population size

We are now interested in highlighting how the period of fluctuations between two environments can have an effect on the mean population size of the population. To do so, we consider the growth rates given by (54) with θ = 1, r = 1 and g = 0.2. This choice aims at considering environments where each respective optimal trait is also viable in the other environment and the asymptotic extinction of the population can not occur. The initial condition is given by (56) (see Figure 5a). A natural indicator for the mean population size during a period is given by

ρ ε (T ) := 1 T T 0 ρ ε (t)dt .
We perfom numerical simulations of the solution of (5) for T ranging in [0.1, 5]. Figure 5b shows several simulations of the time evolution of the size of the population for increasing values of the period T , when a stationary regime is attained. It is observed that the population size drop gets larger and larger for an increasing time spent in each environment. However, Figure 5c shows that the stationary mean population size over a period of fluctuations increases with the length of the period. This can be interpreted as follows. For a small period of fluctuations, the population never gets fully adapted to an environment, but does not suffer much either from the fluctuations. If the period of fluctuations is larger, this allows the population to concentrate on the optimal trait in each environment. As a consequence, the population size can drop significantly at switching time, which seems more costly. Understanding which situation is better from an evolutionary point of vue is not intuitive and depends strongly on the shape of the growth rates. Our simulations show an example where larger periods of fluctuations are better from an evolutionary point of vue, even if the population is less stable in the ecosystem.

Effect of the period of fluctuations on the concentration trait

Finally, we illustrate in Figure 6 the situation where the period of fluctuations affects the trait value at which the population concentrates. For that purpose, we consider an environmental switch between a concave and a symmetric bimodal shape. More precisely, consider

R 1 (x, I ε (t)) = 0.7 - 1 5 x 2 -I ε (t) and R 2 (x, I ε (t)) = 0.2 - 2 3 x 4 + 4 5 x 2 -I ε (t) , (57)
with an initial condition given by

n 0 ε (x) = ρ 0 √ 2πε e -(x-1) 2 2ε , ρ 0 = 0.25 . (58)
Both growth rates and the initial condition are shown in Figure 6a. Figures 6b-6c (resp. 6e-6f) show the evolution of the solution n ε and the total population size ρ ε during two periods, when a stationary periodic solution is attained, for a short period (resp. large period). One can see that when the period of fluctuations is small, the population remains monomorphic and mostly adapted to the bimodal environment. When the period of fluctuations gets larger, the population has enough time to adapt to the unimodal environment. In this situation, the population becomes dimorphic in the bimodal environment. This may be an effect of the fact that ε = 0, so that very small mutations can have an effect on the population dynamics. Overall, these simulations show that when the environment switches between very different phenotypic landscapes, complex phenomena may appear and the trait at which the population concentrates may by hard to predict.

A Proof of Proposition 2.2 Proof. (i) Upper bound on (u ε ) ε . For (t, x) ∈ R + ×R d , let us define u(t, x) = -B 2 |x|+A 2 +(B 2 2 +K 0 )t.
Then by (H9), we have that ∀ε > 0, ∀x ∈ R d , u 0 ε (x) ≤ u(0, x), and for I ε defined by (3) and a.e (t, Let us show that ∀η > 0, ∃θ > 0 such that ∀(t, s, x) ∈ [t i , T ] 2 × B L/2 (0) with 0 ≤ t -s ≤ θ, for all ε < ε 0 , we have that |u ε (t, x) -u ε (s, x)| ≤ 2η.

x) ∈ R + × R d , ∂ t u -ε∆u -|∇u| 2 -R(x, I ε (t)) ≥ B 2 2 + K 0 + εB 2 d -1 |x| -B 2 2 -K 0 ≥ 0,
We follow the proofs from [BBL02, Lemma 9.1] and [BMP09, sec. with A and B constants to be defined. We show that for A and B large enough, ζ is a strict supersolution to (4) on [s, T ] × B L (0), and ζ(t, y) > u ε (t, y) on {s} × B(0, L) ∪ [s, T ] × ∂B L (0). First, using point (a), (u ε ) ε is locally uniformly bounded, so that we can take A such that ∀ε < ε 0 , 8 u ε L ∞ ([t i ,T ]×B L (0)) L 2 ≤ A .

Proof of supp (n(t, •)) ⊆ {u(t, •) = 0}

Assume that there exists x * ∈ supp n(t * , •) such that u(t * , x * ) < 0. Then, since (u ε ) ε is equicontinuous on a neighborhood of (t * , x * ), we obtain that for ε small enough, there exists a, δ > 0 such that on V δ := (t * -δ, t * + δ) × B(x * , δ), we have that u ε (t, x) ≤ -a 2 < 0. We deduce that C Proof of Theorem 1.1 (iii)

V δ ndtdx = V δ
In this section, we identify u = lim ε→0 u ε , assuming that (I ε ) ε converges to a function I.

Identification of the Hamilton-Jacobi equation (8

)
We define Φ ε (t, x) := u ε (t, x) -t 0 R(x, I ε (s))ds. From (4), we deduce that (60)

Then, it will be straightforward that u is a viscosity solution of

∂ t u(t, x) = |∇u(t, x)| 2 + R(x, I(t)) , (61)
and the proof will be complete. To show this result, take ψ ∈ C ∞ ((0, T ) × R d ), and suppose that Φ -ψ has a strict local maximum at a point (t 1 , x 1 ) ∈ (0, T ) × R d . Then, since (Φ ε ) ε converges locally uniformly to Φ, there exists a subsequence (ε j ) j , with ε j → 0, and there exists (t ε j , x ε j ) such that (t ε j , x ε j ) is a local maximum point of Φ ε j -ψ and lim j→+∞ (t ε j , x ε j ) = (t 1 , x 1 ). Now, since ∇Φ ε (t ε j , x ε j ) = ∇ψ(t ε j , x ε j ), ∂ t Φ ε (t ε j , x ε j ) = ∂ t ψ(t ε j , x ε j ), and -∆Φ ε (t ε j , x ε j ) ≥ -∆ψ(t ε j , x ε j ), we deduce that ∂ t ψ(t ε j , x ε j ) -|∇ψ(t ε j , x ε j )| 2 -2∇ψ(t ε j , x ε j ) • The case of a local minimum can be treated similarly. Finally, we have proved that Φ is a viscosity solution of (60). It follows that u is a viscosity solution of (61).

Constraint when I is strictly positively lower bounded on (0, T )

We assume that there exists I > 0 such that for t ∈ (0, T ), I(t) ≥ I. In that case, we show that max x∈R d u(t, x) = 0 ∀t ∈ (0, T ) .

Using the upper bound in (24), there exist positive constants such that u ε (t, x) ≤ -A|x| + B + Ct .

Therefore, for M large enough, we obtain that lim

Now, if for all |x| ≤ M u is strictly negative, there exists a positive constant a such that u(t, x) < -a for all |x| ≤ M . By the locally uniform convergence of (u ε ) ε to u we then deduce that lim ε→0 |x|≤M n ε (t, x)dx = 0, which contradicts (62), and the result follows.

Proof of Γ t ⊆ {x ∈ R d , R(x, I(t)) = 0}

Take t any continuity point of I, and x such that u(t, x) = 0. Using the definition of a viscosity solution at this point with the null function as a test function, we obtain that R(x, I(t)) ≥ 0 .

Next for the other inequality, integrate Equation (8) in time on (t, t+s) with s > 0 small enough, at the fixed point x, and divide by s. We obtain that 0 ≥ u(t + s, x) s ≥ u(t + s, x) -u(t, x) s ≥ 1 s s 0 R(x, I(t + u))du ,

  n 0 (x), persistence n 0 (x), extinction (a) R(x, 0) and nε(0, x)

  (d) ρε(t) = R d nε(t, x)dx (t, x) (f) max x∈R d uε(t, x)

  Figure 1 -Numerical simulations of (2)-(3) for R(x, 0) given by (48) and initial conditions given by (49)-(50). (a): initial conditions and growth rate R. (b)-(c)-(d): situation when Supp n 0 ∩ {x ∈ R d , R(x, 0) > 0} = ∅. The population density evolves towards better trait values, while the population size stays strictly bounded away from zero. (e)-(f)-(g): situation when Γ 0 ⊆ {x ∈ R d , R(x, 0) ≤ -C} for some C > 0. The population size almost immediately drops to very small values, while max x∈R d u ε (t, x) < 0. Then, when the population density concentrates around trait values that have a positive growth rate, the population size grows again, while max x∈R d u ε (t, x) returns near 0. Parameters: r = 0.25, I ε (0) = 0.2 ; dx = ε = 10 -3 ; dt = 10 -4 .

  nε(t, x) for t small 0.00 0.25 0.50 0.75 1.00 1.25 1

  Figure 2 -Numerical simulations of (2)-(3) in the case where Γ 0 ⊆ {R(•, 0) = for R(x, 0) given by (51) and initial conditions given by (52). (a): initial conditions and growth rate R. (b)-(c)-(d): situation when the initial population concentrates far from viable traits. The population size drops to very small values on some time interval. (e)-(f)-(g): situation when the initial population concentrates near viable traits. The population size initially drops but rapidly increases away from zero. Parameters: I ε (0) = 0.2 ; dx = ε = 10 -3 ; dt = 10 -4 .

  Figure 3 -Numerical simulations of (2)-(3) in the case of Remark 1.5, where Supp n 0 ⊆ {R(•, 0) ≤ 0} and Γ 0 ∩ {R(•, 0) > 0} = ∅, with a(x) given by (48) and an initial condition given by (53). The population density is split between a subpopulation concentrated at non viable trait values, and a subpopulation concentrated at viable trait values, but having a mass going to zero as ε → 0. The population size drops immediately as the population carrying traits with negative growth rates disappears, but it quickly increases again towards a positive stationary value, as the population concentrates around the best possible trait. Parameters: dx = ε = 10 -3 ; dt = 10 -4 .

  R1(x, 0), R2(x, 0) and n 0 ε (x) from (56)

  Figure 4 -Numerical simulations of (5) for a growth rate given by (54)-(55) and an initial condition given by (56). (a): initial condition and the growth rates R i . (b)-(c): situation when T = 1. There is asymptotic extinction at the first switching time, since the population is concentrated at trait values with positive growth rates in the first environment and to negative growth rates in the second one. (d)-(e): periodic solution when T = 0.2. The solution remains concentrated at trait values that correspond to positive growth rates in both environments, while the population size reaches a periodic time evolution. Parameters: dx = ε = 10 -3 ; dt = 10 -4 .

  n 0 ε (x) and R1(x, 0), R2(x, 0)T = 1 (b) nε(t, x) for t large ρε(t) = R d nε(t, x)dx for t large

  (e) nε(t, x) for t large

  Figure 6 -Numerical simulations of (5) for a growth rate given by (57) and the initial condition given by (58). (a): the initial conditions and the growth rates R i . (b)-(c): long-time periodic solution and the total population size evolution when T = 1: the switching frequency is high enough to maintain the trait in the same subpart of the phenotypic landscape. (d)-(e)-(f): longtime periodic solution when T = 10. The switching frequency is low enough to allow for an exploration of the bimodal environment. The apparition of a dimorphic population may occur only for ε = 0. Parameters: dx = ε = 10 -3 ; dt = 10 -4 .

  3.4]. It consists in using the local uniform L ∞ bounds on (u ε ) ε and the uniform continuity in space to obtain the local equicontinuity in time. Take (s, x) ∈ [t i , T [×B L/2 (0), and define for (t, y) ∈ [s, T [×B L (0) and any η > 0, ζ(t, y) = u ε (s, x) + η + A|x -y| 2 + B(t -s),

  which is a contradiction. Therefore, for almost every t, supp(n(t, •)) ⊂ {u(t, •) = 0}.

∂.

  t Φ ε (t, x) -ε∆Φ ε (t, x) -|∇Φ ε (t, x)| 2 -2∇Φ ε (t, x) • t 0 ∇R(x, I ε (s))ds = ε t 0 ∆R(x, I ε (s))ds + t 0 ∇R(x, I ε (s))ds 2Our goal is to pass to the limit ε → 0. Since I → R(x, I) is smooth, we obtain the locally uniform limits on [0, , I ε (s))ds = t 0 ∆R(x, I(s))ds .These limiting functions are continuous. Moreover, since, (u ε ) ε converges locally uniformly to the continuous function u as ε goes to zero, it follows that (Φ ε ) ε converges locally uniformly to Φ with Φ(t, x) = u(t, x) -t 0 R(x, I(s))ds as ε goes to 0, and this function is continuous. Next, let us show that Φ is a viscosity solution of∂ t Φ(t, x) -|∇Φ(t, x)| 2 -2∇Φ(t, x) •t 0 ∇R(x, I(s))ds = t 0 ∇R(x, I(s))ds 2 .

tε j 0 ,=

 0 ∇R(x ε j , I(s))ds -tε j 0 ∇R(x ε j , I(s))ds 2 = ∂ t Φ ε (t ε j , x ε j ) -|∇Φ ε (t ε j , x ε j )| 2 -2∇Φ ε (t ε j , x ε j ) • tε j 0 ∇R(x ε j , I(s))ds -tε j 0 ∇R(x ε j , I(s))ds 2 ε j ∆Φ ε (t ε j , x ε j ) + ε j tε j 0 ∆R(x ε j , I(s))ds , ≤ ε j ∆ψ(t ε j , x ε j ) + ε j tε j 0 ∆R(x ε j , I(s))ds .For ε j → 0, and since ψ is smooth, it leads to∂ t ψ(t 1 , x 1 ) -|∇ψ(t 1 , x 1 )| 2 -2∇ψ(t 1 , x 1 ) •

  so that we can write limε→0 |x|≤M n ε (t, x)dx ≥ I ψ M .

Acknowledgements M.C. and S.M. are grateful for partial funding from the chaire Modélisation Mathématique et Biodiversité of Véolia Environment -École Polytechnique -Museum National d'Histoire Naturelle -Fondation X. S.M. is also grateful for partial funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (grant agreement No 639638), held by Vincent Calvez.

Piecewise constant environment

In this section, we illustrate different phenomena arising in a temporally piecewise constant environment. More precisely, in the case where the environment switches between two states, we consider Problem (5) for e a periodic function of time with period T such that for t ∈ [0, T ], e(t) = 1 [0,T /2) (t)+21 [T /2,T ) (t). Then, for (t, x) ∈ [0, T ]×R d , we define the corresponding growth rate R(x, e(t), I ε (t)) by R e(t) (x, I ε (t)). We investigate numerically situations where the period of fluctuations has an effect on the dynamics, whether it acts on the fate of the population, the mean population size, or on the dynamics of the optimal trait.

Effect of the period of fluctuations on the fate of the population

We consider here a periodic switch between two concave growth rates given by

with gθ 2 < r < 4gθ 2 to ensure that there are traits viable in both environments. Here, we take θ = 0.5, g = 1 and r = 0.5.

The initial condition is given by (see Figure 4a)

and allows initial persistence in both environments. Figures 4b and4c show the evolution of n ε and ρ ε over the first environmental switch when the period of fluctuation is large (T = 1). using (H4). As a consequence, u is a supersolution to (4). Using a comparison principle in the class of L 2 functions, we obtain that for (t,

, and (H4) yields that

and the lower bound on u ε follows. Moreover, the lower bound on u ε leads to (25).

(b) & (c) Regularizing effect in time Finally, we show the local equicontinuity in time of (u ε ) ε on either [t 0 , T ] × B L/2 (0) or [0, T ] × B L/2 (0), depending on the hypothesis on the initial condition. In the following, we work with the general notation [t i , T ] × B L (0).

With this choice, for (t, y) ∈ [s, T ] × ∂B L (0) and any η > 0, B > 0, ζ(t, y) > u ε (t, y). Now, on {s} × B(0, L), we need to show that for A large enough, ζ(s, y) > u ε (s, y). Let us proceed by contradiction. If there exists η > 0, ∀A > 0, ∃y A,ε ∈ B(0, L) such that ζ(s, y A,ε ) ≤ u ε (s, y A,ε ), or equivalently

then we obtain that

This contradicts (59), and we deduce that ζ(s, y) > u ε (s, y) on B(0, L). Finally, we have that in

and ζ is a supersolution of (4). Now since u ε is a solution of (4), we deduce that for all

We can prove similarly that, up to changing A and B, u ε (t, y) -u ε (s, x) ≥ -η -A|x -y| 2 -B(t -s). We conclude by taking x = y and θ < η B in both inequalities.

B Proof of Theorem 1.1 (i)-(ii)

We use now the regularity properties obtained in Proposition 2.2 to prove the convergence of (u ε ) ε and of (n ε ) ε .

Convergence of (u ε ) ε From Proposition 2.2, we know that (u ε ) ε is locally uniformly bounded and locally equicontinuous. We use the Arzelà-Ascoli theorem to deduce that up to a subsequence, (u ε ) ε converges locally uniformly to a continuous function u in (0, T )×R d . If moreover (∇u 0 ε ) ε is locally uniformly bounded, then (u ε ) ε is locally uniformly bounded and locally equicontinuous on [0, T ] × R d , and the Arzelà-Ascoli theorem applied near t = 0 shows that u ∈ C([0, ∞) × R d ). In particular, u(0, x) = lim ε→0 u ε (0, x) = u 0 (x).

Proof of u ≤ 0

Assume that for some (t, x), there exists b such that 0 < b ≤ u(t, x). Then, by continuity of u and by locally uniform convergence of (u ε ), there exists r > 0 and ε 0 > 0 such that ∀(t, y) ∈ B(x, r) and ε ≤ ε 0 , u ε (t, y) ≥ b 2 . As a consequence, on B(x, r), n ε (t, y) → +∞ when ε → 0, which contradicts the upper bound (22) on I ε .

Proof of the convergence of (n ε ) ε

We know from Proposition 2.1 that n ε is uniformly bounded in L ∞ t L 1 x (R + × R d ). As a consequence, (n ε ) ε converges in L ∞ w * (M 1 (R d ))to a measure n.